Skip to content

Commit 4c2cb7e

Browse files
committed
esp8266: Define MICROPY_EVENT_POLL_HOOK for the port.
1 parent 6e5c31c commit 4c2cb7e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

esp8266/mpconfigport.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@
5252
#define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_TERSE)
5353
#define MICROPY_MODULE_FROZEN (1)
5454

55+
#define MICROPY_EVENT_POLL_HOOK {ets_event_poll();}
56+
5557
// type definitions for the specific machine
5658

5759
#define BYTES_PER_WORD (4)

0 commit comments

Comments
 (0)