Explorar el Código

Patch compile glitches

Scott Lahteine hace 5 años
padre
commit
c83c2a5022
Se han modificado 2 ficheros con 3 adiciones y 2 borrados
  1. 2
    2
      Marlin/src/HAL/HAL_DUE/timers.h
  2. 1
    0
      Marlin/src/lcd/ultralcd.cpp

+ 2
- 2
Marlin/src/HAL/HAL_DUE/timers.h Ver fichero

@@ -63,8 +63,8 @@ typedef uint32_t hal_timer_t;
63 63
 #define ENABLE_TEMPERATURE_INTERRUPT()  HAL_timer_enable_interrupt(TEMP_TIMER_NUM)
64 64
 #define DISABLE_TEMPERATURE_INTERRUPT() HAL_timer_disable_interrupt(TEMP_TIMER_NUM)
65 65
 
66
-#ifndef HAL_STEP_TIMER_ISR()
67
-#define HAL_STEP_TIMER_ISR()  void TC2_Handler()
66
+#ifndef HAL_STEP_TIMER_ISR
67
+  #define HAL_STEP_TIMER_ISR() void TC2_Handler()
68 68
 #endif
69 69
 #define HAL_TEMP_TIMER_ISR()  void TC4_Handler()
70 70
 #define HAL_TONE_TIMER_ISR()  void TC6_Handler()

+ 1
- 0
Marlin/src/lcd/ultralcd.cpp Ver fichero

@@ -1425,6 +1425,7 @@ void MarlinUI::update() {
1425 1425
     #endif
1426 1426
   }
1427 1427
 
1428
+  #include "../Marlin.h"
1428 1429
   #include "../module/printcounter.h"
1429 1430
 
1430 1431
   static const char print_paused[] PROGMEM = MSG_PRINT_PAUSED;

Loading…
Cancelar
Guardar