diff options
author | Damien George <damien.p.george@gmail.com> | 2016-04-22 09:56:02 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-04-22 09:56:02 +0100 |
commit | 624738ca64c71c8f2cccced3fb5d2380bb4ae56b (patch) | |
tree | dbbc9761f856ce801620e97c01da304995453553 /esp8266 | |
parent | 109990fc322ebf102b6752a47d908cc82a4d3ff7 (diff) | |
download | micropython-624738ca64c71c8f2cccced3fb5d2380bb4ae56b.tar.gz micropython-624738ca64c71c8f2cccced3fb5d2380bb4ae56b.zip |
extmod/machine_i2c: Allow mp_hal_pin_obj_t to be any type, not a ptr.
Diffstat (limited to 'esp8266')
-rw-r--r-- | esp8266/esp_mphal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/esp8266/esp_mphal.h b/esp8266/esp_mphal.h index 82277ed5af..39cf60ab16 100644 --- a/esp8266/esp_mphal.h +++ b/esp8266/esp_mphal.h @@ -63,7 +63,7 @@ void ets_event_poll(void); #include "etshal.h" #include "gpio.h" #include "esp8266/modpyb.h" -#define mp_hal_pin_obj_t pyb_pin_obj_t +#define mp_hal_pin_obj_t pyb_pin_obj_t* #define mp_hal_get_pin_obj(o) mp_obj_get_pin_obj(o) #define mp_hal_pin_config_od(p) do { \ ETS_GPIO_INTR_DISABLE(); \ |