Browse Source

Merge pull request #5191 from petrzjunior/const

Replace const bool with #define for consistency
Scott Lahteine 7 years ago
parent
commit
2330619da0

+ 1
- 1
Marlin/Configuration.h View File

708
                                  // It is assumed that when logic high = filament available
708
                                  // It is assumed that when logic high = filament available
709
                                  //                    when logic  low = filament ran out
709
                                  //                    when logic  low = filament ran out
710
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
710
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
711
-  const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
711
+  #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
712
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
712
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
713
   #define FILAMENT_RUNOUT_SCRIPT "M600"
713
   #define FILAMENT_RUNOUT_SCRIPT "M600"
714
 #endif
714
 #endif

+ 1
- 1
Marlin/Marlin_main.cpp View File

9602
 void manage_inactivity(bool ignore_stepper_queue/*=false*/) {
9602
 void manage_inactivity(bool ignore_stepper_queue/*=false*/) {
9603
 
9603
 
9604
   #if ENABLED(FILAMENT_RUNOUT_SENSOR)
9604
   #if ENABLED(FILAMENT_RUNOUT_SENSOR)
9605
-    if ((IS_SD_PRINTING || print_job_timer.isRunning()) && !(READ(FIL_RUNOUT_PIN) ^ FIL_RUNOUT_INVERTING))
9605
+    if ((IS_SD_PRINTING || print_job_timer.isRunning()) && (READ(FIL_RUNOUT_PIN) == FIL_RUNOUT_INVERTING))
9606
       handle_filament_runout();
9606
       handle_filament_runout();
9607
   #endif
9607
   #endif
9608
 
9608
 

+ 1
- 1
Marlin/example_configurations/Cartesio/Configuration.h View File

708
                                  // It is assumed that when logic high = filament available
708
                                  // It is assumed that when logic high = filament available
709
                                  //                    when logic  low = filament ran out
709
                                  //                    when logic  low = filament ran out
710
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
710
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
711
-  const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
711
+  #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
712
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
712
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
713
   #define FILAMENT_RUNOUT_SCRIPT "M600"
713
   #define FILAMENT_RUNOUT_SCRIPT "M600"
714
 #endif
714
 #endif

+ 1
- 1
Marlin/example_configurations/Felix/Configuration.h View File

691
                                  // It is assumed that when logic high = filament available
691
                                  // It is assumed that when logic high = filament available
692
                                  //                    when logic  low = filament ran out
692
                                  //                    when logic  low = filament ran out
693
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
693
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
694
-  const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
694
+  #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
695
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
695
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
696
   #define FILAMENT_RUNOUT_SCRIPT "M600"
696
   #define FILAMENT_RUNOUT_SCRIPT "M600"
697
 #endif
697
 #endif

+ 1
- 1
Marlin/example_configurations/Felix/DUAL/Configuration.h View File

691
                                  // It is assumed that when logic high = filament available
691
                                  // It is assumed that when logic high = filament available
692
                                  //                    when logic  low = filament ran out
692
                                  //                    when logic  low = filament ran out
693
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
693
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
694
-  const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
694
+  #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
695
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
695
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
696
   #define FILAMENT_RUNOUT_SCRIPT "M600"
696
   #define FILAMENT_RUNOUT_SCRIPT "M600"
697
 #endif
697
 #endif

+ 1
- 1
Marlin/example_configurations/Hephestos/Configuration.h View File

700
                                  // It is assumed that when logic high = filament available
700
                                  // It is assumed that when logic high = filament available
701
                                  //                    when logic  low = filament ran out
701
                                  //                    when logic  low = filament ran out
702
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
702
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
703
-  const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
703
+  #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
704
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
704
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
705
   #define FILAMENT_RUNOUT_SCRIPT "M600"
705
   #define FILAMENT_RUNOUT_SCRIPT "M600"
706
 #endif
706
 #endif

+ 1
- 1
Marlin/example_configurations/Hephestos_2/Configuration.h View File

702
                                  // It is assumed that when logic high = filament available
702
                                  // It is assumed that when logic high = filament available
703
                                  //                    when logic  low = filament ran out
703
                                  //                    when logic  low = filament ran out
704
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
704
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
705
-  const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
705
+  #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
706
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
706
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
707
   #define FILAMENT_RUNOUT_SCRIPT "M600"
707
   #define FILAMENT_RUNOUT_SCRIPT "M600"
708
 #endif
708
 #endif

+ 1
- 1
Marlin/example_configurations/K8200/Configuration.h View File

725
                                  // It is assumed that when logic high = filament available
725
                                  // It is assumed that when logic high = filament available
726
                                  //                    when logic  low = filament ran out
726
                                  //                    when logic  low = filament ran out
727
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
727
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
728
-  const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
728
+  #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
729
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
729
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
730
   #define FILAMENT_RUNOUT_SCRIPT "M600"
730
   #define FILAMENT_RUNOUT_SCRIPT "M600"
731
 #endif
731
 #endif

+ 1
- 1
Marlin/example_configurations/K8400/Configuration.h View File

708
                                  // It is assumed that when logic high = filament available
708
                                  // It is assumed that when logic high = filament available
709
                                  //                    when logic  low = filament ran out
709
                                  //                    when logic  low = filament ran out
710
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
710
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
711
-  const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
711
+  #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
712
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
712
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
713
   #define FILAMENT_RUNOUT_SCRIPT "M600"
713
   #define FILAMENT_RUNOUT_SCRIPT "M600"
714
 #endif
714
 #endif

+ 1
- 1
Marlin/example_configurations/K8400/Dual-head/Configuration.h View File

708
                                  // It is assumed that when logic high = filament available
708
                                  // It is assumed that when logic high = filament available
709
                                  //                    when logic  low = filament ran out
709
                                  //                    when logic  low = filament ran out
710
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
710
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
711
-  const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
711
+  #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
712
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
712
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
713
   #define FILAMENT_RUNOUT_SCRIPT "M600"
713
   #define FILAMENT_RUNOUT_SCRIPT "M600"
714
 #endif
714
 #endif

+ 1
- 1
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h View File

708
                                  // It is assumed that when logic high = filament available
708
                                  // It is assumed that when logic high = filament available
709
                                  //                    when logic  low = filament ran out
709
                                  //                    when logic  low = filament ran out
710
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
710
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
711
-  const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
711
+  #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
712
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
712
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
713
   #define FILAMENT_RUNOUT_SCRIPT "M600"
713
   #define FILAMENT_RUNOUT_SCRIPT "M600"
714
 #endif
714
 #endif

+ 1
- 1
Marlin/example_configurations/RigidBot/Configuration.h View File

706
                                  // It is assumed that when logic high = filament available
706
                                  // It is assumed that when logic high = filament available
707
                                  //                    when logic  low = filament ran out
707
                                  //                    when logic  low = filament ran out
708
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
708
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
709
-  const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
709
+  #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
710
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
710
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
711
   #define FILAMENT_RUNOUT_SCRIPT "M600"
711
   #define FILAMENT_RUNOUT_SCRIPT "M600"
712
 #endif
712
 #endif

+ 1
- 1
Marlin/example_configurations/SCARA/Configuration.h View File

723
                                  // It is assumed that when logic high = filament available
723
                                  // It is assumed that when logic high = filament available
724
                                  //                    when logic  low = filament ran out
724
                                  //                    when logic  low = filament ran out
725
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
725
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
726
-  const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
726
+  #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
727
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
727
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
728
   #define FILAMENT_RUNOUT_SCRIPT "M600"
728
   #define FILAMENT_RUNOUT_SCRIPT "M600"
729
 #endif
729
 #endif

+ 1
- 1
Marlin/example_configurations/TAZ4/Configuration.h View File

729
                                  // It is assumed that when logic high = filament available
729
                                  // It is assumed that when logic high = filament available
730
                                  //                    when logic  low = filament ran out
730
                                  //                    when logic  low = filament ran out
731
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
731
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
732
-  const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
732
+  #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
733
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
733
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
734
   #define FILAMENT_RUNOUT_SCRIPT "M600"
734
   #define FILAMENT_RUNOUT_SCRIPT "M600"
735
 #endif
735
 #endif

+ 1
- 1
Marlin/example_configurations/WITBOX/Configuration.h View File

700
                                  // It is assumed that when logic high = filament available
700
                                  // It is assumed that when logic high = filament available
701
                                  //                    when logic  low = filament ran out
701
                                  //                    when logic  low = filament ran out
702
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
702
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
703
-  const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
703
+  #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
704
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
704
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
705
   #define FILAMENT_RUNOUT_SCRIPT "M600"
705
   #define FILAMENT_RUNOUT_SCRIPT "M600"
706
 #endif
706
 #endif

+ 1
- 1
Marlin/example_configurations/adafruit/ST7565/Configuration.h View File

708
                                  // It is assumed that when logic high = filament available
708
                                  // It is assumed that when logic high = filament available
709
                                  //                    when logic  low = filament ran out
709
                                  //                    when logic  low = filament ran out
710
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
710
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
711
-  const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
711
+  #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
712
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
712
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
713
   #define FILAMENT_RUNOUT_SCRIPT "M600"
713
   #define FILAMENT_RUNOUT_SCRIPT "M600"
714
 #endif
714
 #endif

+ 1
- 1
Marlin/example_configurations/delta/biv2.5/Configuration.h View File

800
                                  // It is assumed that when logic high = filament available
800
                                  // It is assumed that when logic high = filament available
801
                                  //                    when logic  low = filament ran out
801
                                  //                    when logic  low = filament ran out
802
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
802
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
803
-  const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
803
+  #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
804
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
804
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
805
   #define FILAMENT_RUNOUT_SCRIPT "M600"
805
   #define FILAMENT_RUNOUT_SCRIPT "M600"
806
 #endif
806
 #endif

+ 1
- 1
Marlin/example_configurations/delta/generic/Configuration.h View File

794
                                  // It is assumed that when logic high = filament available
794
                                  // It is assumed that when logic high = filament available
795
                                  //                    when logic  low = filament ran out
795
                                  //                    when logic  low = filament ran out
796
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
796
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
797
-  const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
797
+  #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
798
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
798
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
799
   #define FILAMENT_RUNOUT_SCRIPT "M600"
799
   #define FILAMENT_RUNOUT_SCRIPT "M600"
800
 #endif
800
 #endif

+ 1
- 1
Marlin/example_configurations/delta/kossel_mini/Configuration.h View File

797
                                  // It is assumed that when logic high = filament available
797
                                  // It is assumed that when logic high = filament available
798
                                  //                    when logic  low = filament ran out
798
                                  //                    when logic  low = filament ran out
799
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
799
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
800
-  const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
800
+  #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
801
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
801
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
802
   #define FILAMENT_RUNOUT_SCRIPT "M600"
802
   #define FILAMENT_RUNOUT_SCRIPT "M600"
803
 #endif
803
 #endif

+ 1
- 1
Marlin/example_configurations/delta/kossel_pro/Configuration.h View File

798
                                  // It is assumed that when logic high = filament available
798
                                  // It is assumed that when logic high = filament available
799
                                  //                    when logic  low = filament ran out
799
                                  //                    when logic  low = filament ran out
800
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
800
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
801
-  const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
801
+  #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
802
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
802
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
803
   #define FILAMENT_RUNOUT_SCRIPT "M600"
803
   #define FILAMENT_RUNOUT_SCRIPT "M600"
804
 #endif
804
 #endif

+ 1
- 1
Marlin/example_configurations/delta/kossel_xl/Configuration.h View File

800
                                  // It is assumed that when logic high = filament available
800
                                  // It is assumed that when logic high = filament available
801
                                  //                    when logic  low = filament ran out
801
                                  //                    when logic  low = filament ran out
802
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
802
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
803
-  const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
803
+  #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
804
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
804
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
805
   #define FILAMENT_RUNOUT_SCRIPT "M600"
805
   #define FILAMENT_RUNOUT_SCRIPT "M600"
806
 #endif
806
 #endif

+ 1
- 1
Marlin/example_configurations/makibox/Configuration.h View File

711
                                  // It is assumed that when logic high = filament available
711
                                  // It is assumed that when logic high = filament available
712
                                  //                    when logic  low = filament ran out
712
                                  //                    when logic  low = filament ran out
713
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
713
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
714
-  const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
714
+  #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
715
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
715
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
716
   #define FILAMENT_RUNOUT_SCRIPT "M600"
716
   #define FILAMENT_RUNOUT_SCRIPT "M600"
717
 #endif
717
 #endif

+ 1
- 1
Marlin/example_configurations/tvrrug/Round2/Configuration.h View File

704
                                  // It is assumed that when logic high = filament available
704
                                  // It is assumed that when logic high = filament available
705
                                  //                    when logic  low = filament ran out
705
                                  //                    when logic  low = filament ran out
706
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
706
 #if ENABLED(FILAMENT_RUNOUT_SENSOR)
707
-  const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
707
+  #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
708
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
708
   #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
709
   #define FILAMENT_RUNOUT_SCRIPT "M600"
709
   #define FILAMENT_RUNOUT_SCRIPT "M600"
710
 #endif
710
 #endif

Loading…
Cancel
Save