Fix GTM32_PRO_VB Serial and HAL via watchdog (#12753)

Move `watchdog_reset` from `.h` to `.cpp` to eliminate the need to include `MarlinConfig.h` in a HAL-related file.
This commit is contained in:
Phr3d13 authored and Scott Lahteine committed 2019-01-03 09:46:49 -06:00
1 parent 288340cb6c
commit 01f75591c6
2 files changed
+8 -8

No files matched your search

@@ -33,6 +33,13 @@
#include <libmaple/iwdg.h>
#include "watchdog_STM32F1.h"
void watchdog_reset() {
#if PIN_EXISTS(LED)
TOGGLE(LED_PIN); // heartbeat indicator
#endif
iwdg_feed();
}
void watchdogSetup(void) {
// do whatever. don't remove this function.
}