Browse Source

AT90USB is defined in pins.h

Richard Wackerbarth 10 years ago
parent
commit
1d8f61ca8a
2 changed files with 3 additions and 2 deletions
  1. 2
    2
      Marlin/Conditionals.h
  2. 1
    0
      Marlin/Marlin.h

+ 2
- 2
Marlin/Conditionals.h View File

@@ -205,6 +205,8 @@
205 205
 
206 206
   #define CONDITIONALS_H
207 207
 
208
+  #include "pins.h"
209
+
208 210
   #ifndef AT90USB
209 211
     #define HardwareSerial_h // trick to disable the standard HWserial
210 212
   #endif
@@ -215,8 +217,6 @@
215 217
     #include "WProgram.h"
216 218
   #endif
217 219
 
218
-  #include "pins.h"
219
-
220 220
   /**
221 221
    * ENDSTOPPULLUPS
222 222
    */

+ 1
- 0
Marlin/Marlin.h View File

@@ -20,6 +20,7 @@
20 20
 
21 21
 #include "fastio.h"
22 22
 #include "Configuration.h"
23
+#include "pins.h"
23 24
 
24 25
 #ifndef SANITYCHECK_H
25 26
   #error Your Configuration.h and Configuration_adv.h files are outdated!

Loading…
Cancel
Save