Skip to content

Commit

Permalink
🔧 Allow RAMPS FAN1_PIN override (MarlinFirmware#26725)
Browse files Browse the repository at this point in the history
  • Loading branch information
thisiskeithb authored Jan 24, 2024
1 parent 6398902 commit 7fbd9ec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Marlin/src/pins/ramps/pins_RAMPS.h
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,9 @@
#define HEATER_BED_PIN MOSFET_C_PIN
#endif
#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")
#ifndef HEATER_BED_PIN
#define HEATER_BED_PIN MOSFET_C_PIN
Expand Down

0 comments on commit 7fbd9ec

Please sign in to comment.