diff options
author | Damien George <damien.p.george@gmail.com> | 2016-09-20 14:28:17 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-09-20 14:28:17 +1000 |
commit | 34e01984368ff2c689808ef8de182d838cd96725 (patch) | |
tree | 1c11ed0ec0571d05fb654f43981a234a6b83b53a /esp8266/ets_alt_task.h | |
parent | cc7c311b5eab2749bc071716eec8a06271278f01 (diff) | |
download | micropython-34e01984368ff2c689808ef8de182d838cd96725.tar.gz micropython-34e01984368ff2c689808ef8de182d838cd96725.zip |
esp8266: Extend system microsecond counter to 64-bits; use in ticks_ms.
So now ticks_ms can count up to the full 30 bits. Fixes issue #2412.
Diffstat (limited to 'esp8266/ets_alt_task.h')
-rw-r--r-- | esp8266/ets_alt_task.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/esp8266/ets_alt_task.h b/esp8266/ets_alt_task.h index 4b5ba26dbd..dba0c5fa64 100644 --- a/esp8266/ets_alt_task.h +++ b/esp8266/ets_alt_task.h @@ -1,2 +1,4 @@ extern int ets_loop_iter_disable; +extern uint32_t system_time_high_word; + bool ets_loop_iter(void); |