Move Power-off-pin to ramps.h

This commit is contained in:
Knutwurst
2021-11-03 20:15:47 +01:00
parent 0fae7ebb09
commit 48688147b9
2 changed files with 4 additions and 1 deletions

View File

@@ -266,6 +266,10 @@
#define FILWIDTH_PIN 5 // Analog Input on AUX2 #define FILWIDTH_PIN 5 // Analog Input on AUX2
#endif #endif
#ifndef POWER_OFF_PIN
#define POWER_OFF_PIN 21
#endif
// RAMPS 1.4 DIO 4 on the servos connector // RAMPS 1.4 DIO 4 on the servos connector
#ifndef FIL_RUNOUT_PIN #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN 4 #define FIL_RUNOUT_PIN 4

View File

@@ -60,7 +60,6 @@
#define SDSS 53 #define SDSS 53
#define LED_PIN 13 #define LED_PIN 13
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#define POWER_OFF_PIN 21
// Remap MOSFET pins to common usages: // Remap MOSFET pins to common usages:
#define RAMPS_D10_PIN TG_HEATER_0_PIN // HEATER_0_PIN is always RAMPS_D10_PIN in pins_RAMPS.h #define RAMPS_D10_PIN TG_HEATER_0_PIN // HEATER_0_PIN is always RAMPS_D10_PIN in pins_RAMPS.h