Browse Source

Allow FIL_RUNOUT_PIN override on RAMPS-based boards

Scott Lahteine 7 years ago
parent
commit
9de8c04945
No account linked to committer's email address
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      Marlin/src/pins/pins_RAMPS.h

+ 3
- 1
Marlin/src/pins/pins_RAMPS.h View File

@@ -257,7 +257,9 @@
257 257
 #endif
258 258
 
259 259
 // define digital pin 4 for the filament runout sensor. Use the RAMPS 1.4 digital input 4 on the servos connector
260
-#define FIL_RUNOUT_PIN      4
260
+#ifndef FIL_RUNOUT_PIN
261
+  #define FIL_RUNOUT_PIN    4
262
+#endif
261 263
 
262 264
 #ifndef PS_ON_PIN
263 265
   #define PS_ON_PIN        12

Loading…
Cancel
Save