|
@@ -22,10 +22,12 @@
|
22
|
22
|
|
23
|
23
|
#if defined(ARDUINO_ARCH_STM32) && !defined(STM32GENERIC)
|
24
|
24
|
|
25
|
|
-#include "../../inc/MarlinConfig.h"
|
|
25
|
+#include "../../inc/MarlinConfigPre.h"
|
26
|
26
|
|
27
|
27
|
#if ENABLED(USE_WATCHDOG)
|
28
|
28
|
|
|
29
|
+ #include "../../inc/MarlinConfig.h"
|
|
30
|
+
|
29
|
31
|
#include "watchdog_STM32.h"
|
30
|
32
|
#include <IWatchdog.h>
|
31
|
33
|
|
|
@@ -33,7 +35,7 @@
|
33
|
35
|
|
34
|
36
|
void watchdog_reset() {
|
35
|
37
|
IWatchdog.reload();
|
36
|
|
- #if PIN_EXISTS(LED)
|
|
38
|
+ #if DISABLED(PINS_DEBUGGING) && PIN_EXISTS(LED)
|
37
|
39
|
TOGGLE(LED_PIN); // heartbeat indicator
|
38
|
40
|
#endif
|
39
|
41
|
}
|