Kaynağa Gözat

Fixed typo and updated Configuration.h of configurator

paclema 9 yıl önce
ebeveyn
işleme
26015b02d8

+ 1
- 1
Marlin/Configuration.h Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

@@ -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…
İptal
Kaydet