Skip to content

Commit

Permalink
MKS SGEN L V2 adaptable heaters/fans (MarlinFirmware#19462)
Browse files Browse the repository at this point in the history
  • Loading branch information
makerbase-mks authored Sep 22, 2020
1 parent 79dc8a2 commit 63e7ae7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Marlin/src/pins/lpc1769/pins_MKS_SGEN_L_V2.h
Original file line number Diff line number Diff line change
Expand Up @@ -207,20 +207,20 @@
//
#define HEATER_BED_PIN P2_05
#define HEATER_0_PIN P2_07
#if HOTENDS == 1
#ifndef FAN1_PIN
#define FAN1_PIN P2_06
#endif
#else
#if HAS_MULTI_HOTEND
#ifndef HEATER_1_PIN
#define HEATER_1_PIN P2_06
#endif
#else
#ifndef FAN2_PIN
#define FAN2_PIN P2_06 // HE1 for FAN3
#endif
#endif
#ifndef FAN_PIN
#define FAN_PIN P2_04
#define FAN_PIN P2_04 // FAN1
#endif
#ifndef FAN2_PIN
#define FAN2_PIN P1_04
#ifndef FAN1_PIN
#define FAN1_PIN P1_04 // FAN2
#endif

//
Expand Down

0 comments on commit 63e7ae7

Please sign in to comment.