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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/esp8266/esp_mphal.c b/esp8266/esp_mphal.c
index 5252e9ce84..44ccea42be 100644
--- a/esp8266/esp_mphal.c
+++ b/esp8266/esp_mphal.c
@@ -86,8 +86,8 @@ uint32_t HAL_GetTick(void) {
return system_get_time() / 1000;
}
-void HAL_Delay(uint32_t Delay) {
- mp_hal_delay_us(Delay * 1000);
+void mp_hal_delay_ms(uint32_t delay) {
+ mp_hal_delay_us(delay * 1000);
}
void mp_hal_set_interrupt_char(int c) {