Browse Source

Fixed typo and updated Configuration.h of configurator

paclema 9 years ago
parent
commit
26015b02d8
2 changed files with 6 additions and 3 deletions
  1. 1
    1
      Marlin/Configuration.h
  2. 5
    2
      Marlin/configurator/config/Configuration.h

+ 1
- 1
Marlin/Configuration.h View File

@@ -1,4 +1,4 @@
1
-f#ifndef CONFIGURATION_H
1
+#ifndef CONFIGURATION_H
2 2
 #define CONFIGURATION_H
3 3
 
4 4
 #include "boards.h"

+ 5
- 2
Marlin/configurator/config/Configuration.h View File

@@ -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
 //============================ Manual Bed Leveling ==========================

Loading…
Cancel
Save