Browse Source

Use DISABLED to check TEENSY pin option

Scott Lahteine 8 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,7 +33,7 @@
33 33
 
34 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 37
   #error "Uncomment #define AT90USBxx_TEENSYPP_ASSIGNMENTS in fastio.h for this config"
38 38
 #endif
39 39
 

+ 1
- 1
Marlin/pins_TEENSY2.h View File

@@ -69,7 +69,7 @@
69 69
   #error "Oops!  Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu."
70 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 73
   #error "Uncomment #define AT90USBxx_TEENSYPP_ASSIGNMENTS in fastio.h for this config"
74 74
   // (or build from command line)
75 75
 #endif

Loading…
Cancel
Save