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
 
205
 
206
   #define CONDITIONALS_H
206
   #define CONDITIONALS_H
207
 
207
 
208
+  #include "pins.h"
209
+
208
   #ifndef AT90USB
210
   #ifndef AT90USB
209
     #define HardwareSerial_h // trick to disable the standard HWserial
211
     #define HardwareSerial_h // trick to disable the standard HWserial
210
   #endif
212
   #endif
215
     #include "WProgram.h"
217
     #include "WProgram.h"
216
   #endif
218
   #endif
217
 
219
 
218
-  #include "pins.h"
219
-
220
   /**
220
   /**
221
    * ENDSTOPPULLUPS
221
    * ENDSTOPPULLUPS
222
    */
222
    */

+ 1
- 0
Marlin/Marlin.h View File

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

Loading…
Cancel
Save