Browse Source

hal update

Signed-off-by: Sergey Terentiev <sergey@terentiev.me>
FB4S_WIFI
Sergey Terentiev 2 years ago
parent
commit
9222c59c5c
No known key found for this signature in database GPG Key ID: AFAA57ACD15D1EB0
  1. 2
      Marlin/src/module/mks_wifi/mks_wifi_hal_f1.cpp
  2. 2
      Marlin/src/module/mks_wifi/mks_wifi_hal_f4.cpp

2
Marlin/src/module/mks_wifi/mks_wifi_hal_f1.cpp

@ -91,7 +91,7 @@ void wd_reset(void){
#ifdef MAPLE_STM32F1 #ifdef MAPLE_STM32F1
IWDG->KR = 0xAAAA; IWDG->KR = 0xAAAA;
#else #else
HAL_watchdog_refresh(); hal.watchdog_refresh();
#endif #endif
} }

2
Marlin/src/module/mks_wifi/mks_wifi_hal_f4.cpp

@ -51,7 +51,7 @@ void mks_wifi_empty_uart(void){
} }
void wd_reset(void){ void wd_reset(void){
HAL_watchdog_refresh(); hal.watchdog_refresh();
} }
void mks_wifi_hw_restore(void){ void mks_wifi_hw_restore(void){

Loading…
Cancel
Save