diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-03-11 10:41:10 +0700 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-03-11 10:41:10 +0700 |
commit | 4c2cb7e384c96ab36144a616e2bdfe8d6dd0d867 (patch) | |
tree | eeab50a4e88ca47aa13e8ab02eb42dba3112f31e /esp8266 | |
parent | 6e5c31c947497d56c7bbc792e746399e3e34dc30 (diff) | |
download | micropython-4c2cb7e384c96ab36144a616e2bdfe8d6dd0d867.tar.gz micropython-4c2cb7e384c96ab36144a616e2bdfe8d6dd0d867.zip |
esp8266: Define MICROPY_EVENT_POLL_HOOK for the port.
Diffstat (limited to 'esp8266')
-rw-r--r-- | esp8266/mpconfigport.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/esp8266/mpconfigport.h b/esp8266/mpconfigport.h index 738a3020fc..744cc2d825 100644 --- a/esp8266/mpconfigport.h +++ b/esp8266/mpconfigport.h @@ -52,6 +52,8 @@ #define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_TERSE) #define MICROPY_MODULE_FROZEN (1) +#define MICROPY_EVENT_POLL_HOOK {ets_event_poll();} + // type definitions for the specific machine #define BYTES_PER_WORD (4) |