Allow pins overrides for SKR V1.3 (#15451)

This commit is contained in:
LinFor 2019-10-06 04:40:01 +03:00 committed by Scott Lahteine
parent 8924c0f1ec
commit e854eb933d

View File

@ -33,7 +33,9 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN P2_00 #ifndef SERVO0_PIN
#define SERVO0_PIN P2_00
#endif
// //
// Limit Switches // Limit Switches
@ -165,14 +167,24 @@
// //
// Heaters / Fans // Heaters / Fans
// //
#define HEATER_0_PIN P2_07 #ifndef HEATER_0_PIN
#if HOTENDS == 1 #define HEATER_0_PIN P2_07
#define FAN1_PIN P2_04 #endif
#else #if HOTENDS == 1
#define HEATER_1_PIN P2_04 #ifndef FAN1_PIN
#define FAN1_PIN P2_04
#endif
#else
#ifndef HEATER_1_PIN
#define HEATER_1_PIN P2_04
#endif
#endif
#ifndef FAN_PIN
#define FAN_PIN P2_03
#endif
#ifndef HEATER_BED_PIN
#define HEATER_BED_PIN P2_05
#endif #endif
#define FAN_PIN P2_03
#define HEATER_BED_PIN P2_05
/** /**
* _____ _____ * _____ _____