Browse Source

Use DISABLED to check TEENSY pin option

Scott Lahteine 9 years ago
parent
commit
93eafa1785
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      Marlin/pins_BRAINWAVE_PRO.h
  2. 1
    1
      Marlin/pins_TEENSY2.h

+ 1
- 1
Marlin/pins_BRAINWAVE_PRO.h View File

33
 
33
 
34
 #include "fastio.h"
34
 #include "fastio.h"
35
 
35
 
36
-#ifndef AT90USBxx_TEENSYPP_ASSIGNMENTS  // use Teensyduino Teensy++2.0 pin assignments instead of Marlin alphabetical.
36
+#if DISABLED(AT90USBxx_TEENSYPP_ASSIGNMENTS) // use Teensyduino Teensy++2.0 pin assignments instead of Marlin alphabetical.
37
   #error "Uncomment #define AT90USBxx_TEENSYPP_ASSIGNMENTS in fastio.h for this config"
37
   #error "Uncomment #define AT90USBxx_TEENSYPP_ASSIGNMENTS in fastio.h for this config"
38
 #endif
38
 #endif
39
 
39
 

+ 1
- 1
Marlin/pins_TEENSY2.h View File

69
   #error "Oops!  Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu."
69
   #error "Oops!  Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu."
70
 #endif
70
 #endif
71
 
71
 
72
-#ifndef AT90USBxx_TEENSYPP_ASSIGNMENTS  // use Teensyduino Teensy++2.0 pin assignments instead of Marlin alphabetical.
72
+#if DISABLED(AT90USBxx_TEENSYPP_ASSIGNMENTS) // use Teensyduino Teensy++2.0 pin assignments instead of Marlin alphabetical.
73
   #error "Uncomment #define AT90USBxx_TEENSYPP_ASSIGNMENTS in fastio.h for this config"
73
   #error "Uncomment #define AT90USBxx_TEENSYPP_ASSIGNMENTS in fastio.h for this config"
74
   // (or build from command line)
74
   // (or build from command line)
75
 #endif
75
 #endif

Loading…
Cancel
Save