From 624738ca64c71c8f2cccced3fb5d2380bb4ae56b Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 22 Apr 2016 09:56:02 +0100 Subject: extmod/machine_i2c: Allow mp_hal_pin_obj_t to be any type, not a ptr. --- esp8266/esp_mphal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'esp8266') diff --git a/esp8266/esp_mphal.h b/esp8266/esp_mphal.h index 82277ed5a..39cf60ab1 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(); \ -- cgit v1.2.3