summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/esp_mphal.c
diff options
context:
space:
mode:
Diffstat (limited to 'esp8266/esp_mphal.c')
-rw-r--r--esp8266/esp_mphal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/esp8266/esp_mphal.c b/esp8266/esp_mphal.c
index 736cf3b0a2..5252e9ce84 100644
--- a/esp8266/esp_mphal.c
+++ b/esp8266/esp_mphal.c
@@ -46,7 +46,7 @@ void mp_hal_feed_watchdog(void) {
//wdt_feed(); // might also work
}
-void mp_hal_udelay(uint32_t us) {
+void mp_hal_delay_us(uint32_t us) {
ets_delay_us(us);
}
@@ -56,7 +56,7 @@ int mp_hal_stdin_rx_chr(void) {
if (c != -1) {
return c;
}
- mp_hal_udelay(1);
+ mp_hal_delay_us(1);
mp_hal_feed_watchdog();
}
}
@@ -87,7 +87,7 @@ uint32_t HAL_GetTick(void) {
}
void HAL_Delay(uint32_t Delay) {
- mp_hal_udelay(Delay * 1000);
+ mp_hal_delay_us(Delay * 1000);
}
void mp_hal_set_interrupt_char(int c) {