1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 12:04:19 +00:00

MKS SGEN L V2 adaptable heaters/fans (#19462)

This commit is contained in:
makerbase 2020-09-23 04:57:17 +08:00 committed by GitHub
parent 79dc8a2297
commit 63e7ae793b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
//