From 4c2cb7e384c96ab36144a616e2bdfe8d6dd0d867 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Fri, 11 Mar 2016 10:41:10 +0700 Subject: [PATCH] esp8266: Define MICROPY_EVENT_POLL_HOOK for the port. --- esp8266/mpconfigport.h | 2 ++ 1 file changed, 2 insertions(+) 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)