Browse Source

hal update

Signed-off-by: Sergey Terentiev <sergey@terentiev.me>
FB4S_WIFI
Sergey Terentiev 3 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
IWDG->KR = 0xAAAA;
#else
HAL_watchdog_refresh();
hal.watchdog_refresh();
#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){
HAL_watchdog_refresh();
hal.watchdog_refresh();
}
void mks_wifi_hw_restore(void){

Loading…
Cancel
Save