Parcourir la source

Fix include order to make SERIAL_PORT_2 work (#13241)

Karl Andersson il y a 6 ans
Parent
révision
76e9ee33aa
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2
    2
      Marlin/src/HAL/HAL_STM32/HAL.h

+ 2
- 2
Marlin/src/HAL/HAL_STM32/HAL.h Voir le fichier

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

Chargement…
Annuler
Enregistrer