Skip to content

Commit 81dc18f

Browse files
grauerfuchsLCh-77
authored andcommitted
🐛 Fix Mightyboard LED pin, fan override (MarlinFirmware#24168)
1 parent bd00a7e commit 81dc18f

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

Marlin/src/pins/mega/pins_MIGHTYBOARD_REVE.h

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,19 +166,23 @@
166166
#ifndef E0_AUTO_FAN_PIN
167167
#define E0_AUTO_FAN_PIN MOSFET_2_PIN
168168
#else
169-
#define FAN_PIN MOSFET_2_PIN
169+
#ifndef FAN_PIN
170+
#define FAN_PIN MOSFET_2_PIN
171+
#endif
170172
#endif
171173
// EX2 FAN (Automatic Fans are disabled by default in Configuration_adv.h - comment that out for auto fans)
172174
#ifndef E1_AUTO_FAN_PIN
173175
#define E1_AUTO_FAN_PIN MOSFET_4_PIN
174176
#else
175-
#define FAN1_PIN MOSFET_4_PIN
177+
#ifndef FAN1_PIN
178+
#define FAN1_PIN MOSFET_4_PIN
179+
#endif
176180
#endif
177181

178182
//
179183
// Misc. Functions
180184
//
181-
#define LED_PIN MOSFET_6_PIN // B7
185+
#define LED_PIN 13 // B7
182186
#define CUTOFF_RESET_PIN 16 // H1
183187
#define CUTOFF_TEST_PIN 17 // H0
184188
#define CUTOFF_SR_CHECK_PIN 70 // G4 (TOSC1)

0 commit comments

Comments
 (0)