瀏覽代碼

Use DISABLED to check TEENSY pin option

Scott Lahteine 9 年之前
父節點
當前提交
93eafa1785
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      Marlin/pins_BRAINWAVE_PRO.h
  2. 1
    1
      Marlin/pins_TEENSY2.h

+ 1
- 1
Marlin/pins_BRAINWAVE_PRO.h 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存