Fix compiler warnings
- Patched up for most included configurations
This commit is contained in:
@@ -4,13 +4,23 @@
|
||||
|
||||
#include "pins_RAMPS_13.h"
|
||||
|
||||
#undef X_MAX_PIN
|
||||
#undef Y_MAX_PIN
|
||||
#undef Z_MAX_PIN
|
||||
#define X_MAX_PIN -1
|
||||
#define Y_MAX_PIN -1
|
||||
#define Z_MAX_PIN -1
|
||||
|
||||
#undef Y2_STEP_PIN
|
||||
#undef Y2_DIR_PIN
|
||||
#undef Y2_ENABLE_PIN
|
||||
#define Y2_STEP_PIN -1
|
||||
#define Y2_DIR_PIN -1
|
||||
#define Y2_ENABLE_PIN -1
|
||||
|
||||
#undef Z2_STEP_PIN
|
||||
#undef Z2_DIR_PIN
|
||||
#undef Z2_ENABLE_PIN
|
||||
#define Z2_STEP_PIN -1
|
||||
#define Z2_DIR_PIN -1
|
||||
#define Z2_ENABLE_PIN -1
|
||||
@@ -19,11 +29,14 @@
|
||||
#define E1_DIR_PIN 34
|
||||
#define E1_ENABLE_PIN 30
|
||||
|
||||
#undef SDPOWER
|
||||
#define SDPOWER 1
|
||||
|
||||
#undef FAN_PIN
|
||||
#define FAN_PIN 9 // (Sprinter config)
|
||||
#define PS_ON_PIN 12
|
||||
|
||||
#undef HEATER_1_PIN
|
||||
#define HEATER_1_PIN 7 // EXTRUDER 2
|
||||
|
||||
#if defined(ULTRA_LCD) && defined(NEWPANEL)
|
||||
|
Reference in New Issue
Block a user