Browse Source

🐛 Fix Mightyboard LED pin, fan override (#24168)

grauerfuchs 2 years ago
parent
commit
eb352b11b9
No account linked to committer's email address
1 changed files with 7 additions and 3 deletions
  1. 7
    3
      Marlin/src/pins/mega/pins_MIGHTYBOARD_REVE.h

+ 7
- 3
Marlin/src/pins/mega/pins_MIGHTYBOARD_REVE.h View File

@@ -166,19 +166,23 @@
166 166
 #ifndef E0_AUTO_FAN_PIN
167 167
   #define E0_AUTO_FAN_PIN           MOSFET_2_PIN
168 168
 #else
169
-  #define FAN_PIN                   MOSFET_2_PIN
169
+  #ifndef FAN_PIN
170
+    #define FAN_PIN                 MOSFET_2_PIN
171
+  #endif
170 172
 #endif
171 173
 // EX2 FAN (Automatic Fans are disabled by default in Configuration_adv.h - comment that out for auto fans)
172 174
 #ifndef E1_AUTO_FAN_PIN
173 175
   #define E1_AUTO_FAN_PIN           MOSFET_4_PIN
174 176
 #else
175
-  #define FAN1_PIN                  MOSFET_4_PIN
177
+  #ifndef FAN1_PIN
178
+    #define FAN1_PIN                MOSFET_4_PIN
179
+  #endif
176 180
 #endif
177 181
 
178 182
 //
179 183
 // Misc. Functions
180 184
 //
181
-#define LED_PIN                     MOSFET_6_PIN  // B7
185
+#define LED_PIN                               13  // B7
182 186
 #define CUTOFF_RESET_PIN                      16  // H1
183 187
 #define CUTOFF_TEST_PIN                       17  // H0
184 188
 #define CUTOFF_SR_CHECK_PIN                   70  // G4 (TOSC1)

Loading…
Cancel
Save