Browse Source

Always define status LED pins

Scott Lahteine 7 years ago
parent
commit
ba43277429

+ 7
- 9
Marlin/pins_AZTEEG_X3.h View File

@@ -41,16 +41,14 @@
41 41
   #define DOGLCD_CS         32
42 42
   #define BTN_ENC           12
43 43
 
44
-  #if ENABLED(TEMP_STAT_LEDS)
45
-    #undef STAT_LED_RED_PIN
46
-    #undef STAT_LED_BLUE_PIN
47
-    #define STAT_LED_RED_PIN    64
48
-    #define STAT_LED_BLUE_PIN   63
49
-  #endif
44
+  #undef STAT_LED_RED_PIN
45
+  #undef STAT_LED_BLUE_PIN
46
+  #define STAT_LED_RED_PIN  64
47
+  #define STAT_LED_BLUE_PIN 63
50 48
 
51
-#elif ENABLED(TEMP_STAT_LEDS)
49
+#else
52 50
 
53
-  #define STAT_LED_RED_PIN       6
54
-  #define STAT_LED_BLUE_PIN     11
51
+  #define STAT_LED_RED_PIN   6
52
+  #define STAT_LED_BLUE_PIN 11
55 53
 
56 54
 #endif

+ 2
- 2
Marlin/pins_AZTEEG_X3_PRO.h View File

@@ -117,6 +117,6 @@
117 117
   #undef SD_DETECT_PIN
118 118
   #define SD_DETECT_PIN    49 // For easy adapter board
119 119
 #else
120
-  #define STAT_LED_RED_PIN     32
121
-  #define STAT_LED_BLUE_PIN    35
120
+  #define STAT_LED_RED_PIN 32
121
+  #define STAT_LED_BLUE_PIN 35
122 122
 #endif

+ 2
- 2
Marlin/pins_CNCONTROLS_11.h View File

@@ -115,5 +115,5 @@
115 115
 //
116 116
 // Misc. Functions
117 117
 //
118
-#define STAT_LED_BLUE_PIN      -1
119
-#define STAT_LED_RED_PIN       31
118
+#define STAT_LED_BLUE_PIN  -1
119
+#define STAT_LED_RED_PIN   31

+ 2
- 2
Marlin/pins_CNCONTROLS_12.h View File

@@ -111,8 +111,8 @@
111 111
 //#define UI1              43
112 112
 //#define UI2              37
113 113
 
114
-#define STAT_LED_BLUE_PIN      -1
115
-#define STAT_LED_RED_PIN       10 // TOOL_0_PWM_PIN
114
+#define STAT_LED_BLUE_PIN  -1
115
+#define STAT_LED_RED_PIN   10 // TOOL_0_PWM_PIN
116 116
 
117 117
 //
118 118
 // SD Card

+ 2
- 2
Marlin/pins_MKS_13.h View File

@@ -120,9 +120,9 @@
120 120
   #define BEEPER_PIN      25
121 121
 
122 122
   // yellow               RED-LED
123
-  #define STAT_LED_RED_PIN    16
123
+  #define STAT_LED_RED_PIN 16
124 124
 
125 125
   // white                BLUE-LED
126
-  #define STAT_LED_BLUE_PIN   17
126
+  #define STAT_LED_BLUE_PIN 17
127 127
 
128 128
 #endif

+ 4
- 4
Marlin/pins_PRINTRBOARD.h View File

@@ -131,8 +131,8 @@
131 131
 
132 132
   #define SDSS 45
133 133
   #define SD_DETECT_PIN -1 // FastIO (Manual says 72 I'm not certain cause I can't test)
134
-  #if ENABLED(TEMP_STAT_LEDS)
135
-    #define STAT_LED_RED_PIN      12 //Non-FastIO
136
-    #define STAT_LED_BLUE_PIN     10 //Non-FastIO
137
-  #endif
134
+
135
+  #define STAT_LED_RED_PIN  12 //Non-FastIO
136
+  #define STAT_LED_BLUE_PIN 10 //Non-FastIO
137
+
138 138
 #endif

+ 4
- 7
Marlin/pins_PRINTRBOARD_REVF.h View File

@@ -117,21 +117,18 @@
117 117
 
118 118
 #if ENABLED(VIKI2) || ENABLED(miniVIKI)
119 119
   #define BEEPER_PIN 32 //FastIO
120
-  // Pins for DOGM SPI LCD Support
121 120
   #define DOGLCD_A0  42 //Non-FastIO
122 121
   #define DOGLCD_CS  43 //Non-FastIO
123 122
   #define LCD_SCREEN_ROT_180
124 123
 
125
-  //The encoder and click button (FastIO Pins)
124
+  // (FastIO Pins)
126 125
   #define BTN_EN1 26
127 126
   #define BTN_EN2 27
128 127
   #define BTN_ENC 47
129 128
 
130 129
   #define SDSS 45
131
-  #define SD_DETECT_PIN -1 // FastIO (Manual says 72 I'm not certain cause I can't test)
130
+  #define SD_DETECT_PIN -1 // FastIO (Manual says 72)
132 131
 
133
-  #if ENABLED(TEMP_STAT_LEDS)
134
-    #define STAT_LED_RED_PIN      12 //Non-FastIO
135
-    #define STAT_LED_BLUE_PIN     10 //Non-FastIO
136
-  #endif
132
+  #define STAT_LED_RED_PIN 12 //Non-FastIO
133
+  #define STAT_LED_BLUE_PIN 10 //Non-FastIO
137 134
 #endif

+ 2
- 4
Marlin/pins_RAMBO.h View File

@@ -169,10 +169,8 @@
169 169
 
170 170
       #define SD_DETECT_PIN -1 // Pin 72 if using easy adapter board
171 171
 
172
-      #if ENABLED(TEMP_STAT_LEDS)
173
-        #define STAT_LED_RED_PIN      22
174
-        #define STAT_LED_BLUE_PIN     32
175
-      #endif
172
+      #define STAT_LED_RED_PIN 22
173
+      #define STAT_LED_BLUE_PIN 32
176 174
 
177 175
     #else
178 176
 

+ 3
- 4
Marlin/pins_RAMPS.h View File

@@ -280,10 +280,9 @@
280 280
 
281 281
       #define KILL_PIN         31
282 282
 
283
-      #if ENABLED(TEMP_STAT_LEDS)
284
-        #define STAT_LED_RED_PIN   32
285
-        #define STAT_LED_BLUE_PIN  35
286
-      #endif
283
+      #define STAT_LED_RED_PIN 32
284
+      #define STAT_LED_BLUE_PIN 35
285
+
287 286
     #elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
288 287
       #define BTN_EN1 35  // reverse if the encoder turns the wrong way.
289 288
       #define BTN_EN2 37

Loading…
Cancel
Save