From 8afe13b1a2fd0506a96659b7d2f68b2b25f84b01 Mon Sep 17 00:00:00 2001 From: Christopher Pepper Date: Sat, 26 Aug 2017 21:28:28 +0100 Subject: [PATCH] Fix compile issue when watchdog was disabled --- Marlin/src/HAL/HAL_LPC1768/watchdog.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Marlin/src/HAL/HAL_LPC1768/watchdog.cpp b/Marlin/src/HAL/HAL_LPC1768/watchdog.cpp index bdc62b5ff..89d10a3cb 100644 --- a/Marlin/src/HAL/HAL_LPC1768/watchdog.cpp +++ b/Marlin/src/HAL/HAL_LPC1768/watchdog.cpp @@ -24,8 +24,6 @@ #include "../../../MarlinConfig.h" -#if ENABLED(USE_WATCHDOG) - #include "lpc17xx_wdt.h" #include "watchdog.h" @@ -48,6 +46,4 @@ void watchdog_reset() { TOGGLE(13); // heart beat indicator on Pin13 } -#endif // USE_WATCHDOG - #endif // TARGET_LPC1768