From 33168081f48634d45902f0a31a27d4527c88a522 Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 31 May 2016 14:25:19 +0100 Subject: extmod/machine: Add MICROPY_PY_MACHINE_PULSE config for time_pulse_us. Since not all ports that enable the machine module have the pin HAL functions. --- esp8266/mpconfigport.h | 1 + 1 file changed, 1 insertion(+) (limited to 'esp8266') diff --git a/esp8266/mpconfigport.h b/esp8266/mpconfigport.h index ad11cb4d7..df7844488 100644 --- a/esp8266/mpconfigport.h +++ b/esp8266/mpconfigport.h @@ -59,6 +59,7 @@ #define MICROPY_PY_UZLIB (1) #define MICROPY_PY_LWIP (1) #define MICROPY_PY_MACHINE (1) +#define MICROPY_PY_MACHINE_PULSE (1) #define MICROPY_PY_MACHINE_I2C (1) #define MICROPY_PY_WEBSOCKET (1) #define MICROPY_PY_WEBREPL (1) -- cgit v1.2.3