Browse Source

Fix compile issue when watchdog was disabled

pull/1/head
Christopher Pepper 7 years ago
committed by Scott Lahteine
parent
commit
8afe13b1a2
  1. 4
      Marlin/src/HAL/HAL_LPC1768/watchdog.cpp

4
Marlin/src/HAL/HAL_LPC1768/watchdog.cpp

@ -24,8 +24,6 @@
#include "../../../MarlinConfig.h" #include "../../../MarlinConfig.h"
#if ENABLED(USE_WATCHDOG)
#include "lpc17xx_wdt.h" #include "lpc17xx_wdt.h"
#include "watchdog.h" #include "watchdog.h"
@ -48,6 +46,4 @@ void watchdog_reset() {
TOGGLE(13); // heart beat indicator on Pin13 TOGGLE(13); // heart beat indicator on Pin13
} }
#endif // USE_WATCHDOG
#endif // TARGET_LPC1768 #endif // TARGET_LPC1768

Loading…
Cancel
Save