summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-04-22 09:56:02 +0100
committerDamien George <damien.p.george@gmail.com>2016-04-22 09:56:02 +0100
commit624738ca64c71c8f2cccced3fb5d2380bb4ae56b (patch)
treedbbc9761f856ce801620e97c01da304995453553 /esp8266
parent109990fc322ebf102b6752a47d908cc82a4d3ff7 (diff)
downloadmicropython-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.h2
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(); \