Allow FAN_PIN override, pins cleanup (#10956)

This commit is contained in:
Scott Lahteine
2018-06-07 16:46:13 -05:00
committed by GitHub
parent 55aedf036b
commit 7ba5afff01
63 changed files with 329 additions and 240 deletions

View File

@@ -88,11 +88,15 @@
#if ENABLED(RAMPS_V_1_0)
#define HEATER_0_PIN 12
#define HEATER_BED_PIN -1
#define FAN_PIN 11
#ifndef FAN_PIN
#define FAN_PIN 11
#endif
#else // RAMPS_V_1_1 or RAMPS_V_1_2
#define HEATER_0_PIN 10
#define HEATER_BED_PIN 8
#define FAN_PIN 9
#ifndef FAN_PIN
#define FAN_PIN 9
#endif
#endif
//