diff options
Diffstat (limited to 'esp8266/esp_mphal.c')
-rw-r--r-- | esp8266/esp_mphal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/esp8266/esp_mphal.c b/esp8266/esp_mphal.c index 53a1700277..8eb8cc8ca2 100644 --- a/esp8266/esp_mphal.c +++ b/esp8266/esp_mphal.c @@ -29,6 +29,7 @@ #include "etshal.h" #include "uart.h" #include "esp_mphal.h" +#include "user_interface.h" extern void ets_wdt_disable(void); extern void wdt_feed(void); @@ -82,8 +83,7 @@ void mp_hal_stdout_tx_strn_cooked(const char *str, uint32_t len) { } uint32_t HAL_GetTick(void) { - // TODO - return 0; + return system_get_time() / 1000; } void HAL_Delay(uint32_t Delay) { |