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