From 9222c59c5c46ef59a67713f2997357ffe0b82ae5 Mon Sep 17 00:00:00 2001 From: Sergey Terentiev Date: Tue, 5 Jul 2022 14:14:48 +0300 Subject: [PATCH] hal update Signed-off-by: Sergey Terentiev --- Marlin/src/module/mks_wifi/mks_wifi_hal_f1.cpp | 2 +- Marlin/src/module/mks_wifi/mks_wifi_hal_f4.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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){