|
@@ -417,8 +417,11 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
|
417
|
417
|
// In RAMPS uses servo pin 2. Can be changed in pins file. For other boards pin definition should be made.
|
418
|
418
|
// It is assumed that when logic high = filament available
|
419
|
419
|
// when logic low = filament ran out
|
420
|
|
-//const bool FIL_RUNOUT_INVERTING = true; // Should be uncommented and true or false should assigned
|
421
|
|
-//#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
|
420
|
+#ifdef FILAMENT_RUNOUT_SENSOR
|
|
421
|
+ const bool FIL_RUNOUT_INVERTING = true; // Should be uncommented and true or false should assigned
|
|
422
|
+ #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
|
423
|
+ #define FILAMENT_RUNOUT_SCRIPT "M600"
|
|
424
|
+#endif
|
422
|
425
|
|
423
|
426
|
//===========================================================================
|
424
|
427
|
//============================ Mesh Bed Leveling ============================
|