Browse Source
hal update
Signed-off-by: Sergey Terentiev <sergey@terentiev.me>
FB4S_WIFI
Sergey Terentiev
2 years ago
No known key found for this signature in database
GPG Key ID: AFAA57ACD15D1EB0
2 changed files with
2 additions and
2 deletions
-
Marlin/src/module/mks_wifi/mks_wifi_hal_f1.cpp
-
Marlin/src/module/mks_wifi/mks_wifi_hal_f4.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 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
@ -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){ |
|
|