🔧 Allow RAMPS FAN1_PIN override (#26725)

This commit is contained in:
Keith Bennett 2024-01-24 10:55:59 -08:00 committed by GitHub
parent 63989023b8
commit 7fbd9ec5f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -245,7 +245,9 @@
#define HEATER_BED_PIN MOSFET_C_PIN #define HEATER_BED_PIN MOSFET_C_PIN
#endif #endif
#elif FET_ORDER_EFF // Hotend, Fan, Fan #elif FET_ORDER_EFF // Hotend, Fan, Fan
#define FAN1_PIN MOSFET_C_PIN #ifndef FAN1_PIN
#define FAN1_PIN MOSFET_C_PIN
#endif
#elif DISABLED(FET_ORDER_SF) // Not Spindle, Fan (i.e., "EFBF" or "EFBE") #elif DISABLED(FET_ORDER_SF) // Not Spindle, Fan (i.e., "EFBF" or "EFBE")
#ifndef HEATER_BED_PIN #ifndef HEATER_BED_PIN
#define HEATER_BED_PIN MOSFET_C_PIN #define HEATER_BED_PIN MOSFET_C_PIN