diff --git a/Marlin/src/module/mks_wifi/mks_wifi_hal_f1.cpp b/Marlin/src/module/mks_wifi/mks_wifi_hal_f1.cpp index 0a75666700..2887560b7f 100644 --- a/Marlin/src/module/mks_wifi/mks_wifi_hal_f1.cpp +++ b/Marlin/src/module/mks_wifi/mks_wifi_hal_f1.cpp @@ -91,7 +91,7 @@ void wd_reset(void){ #ifdef MAPLE_STM32F1 IWDG->KR = 0xAAAA; #else - HAL_watchdog_refresh(); + hal.watchdog_refresh(); #endif } diff --git a/Marlin/src/module/mks_wifi/mks_wifi_hal_f4.cpp b/Marlin/src/module/mks_wifi/mks_wifi_hal_f4.cpp index 73d56be65d..e4713e5ee3 100644 --- a/Marlin/src/module/mks_wifi/mks_wifi_hal_f4.cpp +++ b/Marlin/src/module/mks_wifi/mks_wifi_hal_f4.cpp @@ -51,7 +51,7 @@ void mks_wifi_empty_uart(void){ } void wd_reset(void){ - HAL_watchdog_refresh(); + hal.watchdog_refresh(); } void mks_wifi_hw_restore(void){