Browse Source

🎨 Remove extraneous pin defs

Scott Lahteine 4 years ago
parent
commit
826a34b0b1
1 changed files with 2 additions and 4 deletions
  1. 2
    4
      Marlin/src/pins/stm32f4/pins_MKS_ROBIN_NANO_V3.h

+ 2
- 4
Marlin/src/pins/stm32f4/pins_MKS_ROBIN_NANO_V3.h View File

181
 #define MT_DET_1_PIN                        PA4
181
 #define MT_DET_1_PIN                        PA4
182
 #define MT_DET_2_PIN                        PE6
182
 #define MT_DET_2_PIN                        PE6
183
 #define MT_DET_PIN_INVERTING               false  // LVGL UI filament RUNOUT PIN STATE
183
 #define MT_DET_PIN_INVERTING               false  // LVGL UI filament RUNOUT PIN STATE
184
-#define PW_DET                              PA13
185
-#define PW_OFF                              PB2
186
 
184
 
187
 #ifndef FIL_RUNOUT_PIN
185
 #ifndef FIL_RUNOUT_PIN
188
   #define FIL_RUNOUT_PIN            MT_DET_1_PIN
186
   #define FIL_RUNOUT_PIN            MT_DET_1_PIN
192
 #endif
190
 #endif
193
 
191
 
194
 #ifndef POWER_LOSS_PIN
192
 #ifndef POWER_LOSS_PIN
195
-  #define POWER_LOSS_PIN                  PW_DET
193
+  #define POWER_LOSS_PIN                    PA13  // PW_DET
196
 #endif
194
 #endif
197
-#define PS_ON_PIN                         PW_OFF
195
+#define PS_ON_PIN                           PB2   // PW_OFF
198
 
196
 
199
 //
197
 //
200
 // Enable MKSPWC support
198
 // Enable MKSPWC support

Loading…
Cancel
Save