Pārlūkot izejas kodu

Fix compile issue when watchdog was disabled

Christopher Pepper 8 gadus atpakaļ
vecāks
revīzija
8afe13b1a2
1 mainītis faili ar 0 papildinājumiem un 4 dzēšanām
  1. 0
    4
      Marlin/src/HAL/HAL_LPC1768/watchdog.cpp

+ 0
- 4
Marlin/src/HAL/HAL_LPC1768/watchdog.cpp Parādīt failu

@@ -24,8 +24,6 @@
24 24
 
25 25
 #include "../../../MarlinConfig.h"
26 26
 
27
-#if ENABLED(USE_WATCHDOG)
28
-
29 27
 #include "lpc17xx_wdt.h"
30 28
 #include "watchdog.h"
31 29
 
@@ -48,6 +46,4 @@ void watchdog_reset() {
48 46
   TOGGLE(13); // heart beat indicator on Pin13
49 47
 }
50 48
 
51
-#endif // USE_WATCHDOG
52
-
53 49
 #endif // TARGET_LPC1768

Notiek ielāde…
Atcelt
Saglabāt