ソースを参照

Use DISABLED to check TEENSY pin option

Scott Lahteine 8年前
コミット
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

読み込み中…
キャンセル
保存