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

This commit is contained in:
grauerfuchs 2022-05-13 20:08:50 -04:00 committed by Scott Lahteine
parent 63aecad7ee
commit 425684e2ff

View File

@ -166,19 +166,23 @@
#ifndef E0_AUTO_FAN_PIN #ifndef E0_AUTO_FAN_PIN
#define E0_AUTO_FAN_PIN MOSFET_2_PIN #define E0_AUTO_FAN_PIN MOSFET_2_PIN
#else #else
#define FAN_PIN MOSFET_2_PIN #ifndef FAN_PIN
#define FAN_PIN MOSFET_2_PIN
#endif
#endif #endif
// EX2 FAN (Automatic Fans are disabled by default in Configuration_adv.h - comment that out for auto fans) // EX2 FAN (Automatic Fans are disabled by default in Configuration_adv.h - comment that out for auto fans)
#ifndef E1_AUTO_FAN_PIN #ifndef E1_AUTO_FAN_PIN
#define E1_AUTO_FAN_PIN MOSFET_4_PIN #define E1_AUTO_FAN_PIN MOSFET_4_PIN
#else #else
#define FAN1_PIN MOSFET_4_PIN #ifndef FAN1_PIN
#define FAN1_PIN MOSFET_4_PIN
#endif
#endif #endif
// //
// Misc. Functions // Misc. Functions
// //
#define LED_PIN MOSFET_6_PIN // B7 #define LED_PIN 13 // B7
#define CUTOFF_RESET_PIN 16 // H1 #define CUTOFF_RESET_PIN 16 // H1
#define CUTOFF_TEST_PIN 17 // H0 #define CUTOFF_TEST_PIN 17 // H0
#define CUTOFF_SR_CHECK_PIN 70 // G4 (TOSC1) #define CUTOFF_SR_CHECK_PIN 70 // G4 (TOSC1)