Sfoglia il codice sorgente

Fix include order to make SERIAL_PORT_2 work (#13241)

Karl Andersson 6 anni fa
parent
commit
76e9ee33aa
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2
    2
      Marlin/src/HAL/HAL_STM32/HAL.h

+ 2
- 2
Marlin/src/HAL/HAL_STM32/HAL.h Vedi File

42
 #include "fastio_STM32.h"
42
 #include "fastio_STM32.h"
43
 #include "watchdog_STM32.h"
43
 #include "watchdog_STM32.h"
44
 
44
 
45
-#include "HAL_timers_STM32.h"
46
-
47
 // --------------------------------------------------------------------------
45
 // --------------------------------------------------------------------------
48
 // Defines
46
 // Defines
49
 // --------------------------------------------------------------------------
47
 // --------------------------------------------------------------------------
101
   #define NUM_SERIAL 1
99
   #define NUM_SERIAL 1
102
 #endif
100
 #endif
103
 
101
 
102
+#include "HAL_timers_STM32.h"
103
+
104
 /**
104
 /**
105
  * TODO: review this to return 1 for pins that are not analog input
105
  * TODO: review this to return 1 for pins that are not analog input
106
  */
106
  */

Loading…
Annulla
Salva