Переглянути джерело

🔧 Move LASER_COOLANT_FLOW_METER to LASER_FEATURE

Scott Lahteine 2 роки тому
джерело
коміт
9d6b4a2e97
1 змінених файлів з 14 додано та 14 видалено
  1. 14
    14
      Marlin/Configuration_adv.h

+ 14
- 14
Marlin/Configuration_adv.h Переглянути файл

@@ -249,20 +249,6 @@
249 249
   #endif
250 250
 #endif
251 251
 
252
-//
253
-// Laser Coolant Flow Meter
254
-//
255
-//#define LASER_COOLANT_FLOW_METER
256
-#if ENABLED(LASER_COOLANT_FLOW_METER)
257
-  #define FLOWMETER_PIN         20  // Requires an external interrupt-enabled pin (e.g., RAMPS 2,3,18,19,20,21)
258
-  #define FLOWMETER_PPL       5880  // (pulses/liter) Flow meter pulses-per-liter on the input pin
259
-  #define FLOWMETER_INTERVAL  1000  // (ms) Flow rate calculation interval in milliseconds
260
-  #define FLOWMETER_SAFETY          // Prevent running the laser without the minimum flow rate set below
261
-  #if ENABLED(FLOWMETER_SAFETY)
262
-    #define FLOWMETER_MIN_LITERS_PER_MINUTE 1.5 // (liters/min) Minimum flow required when enabled
263
-  #endif
264
-#endif
265
-
266 252
 /**
267 253
  * Thermal Protection provides additional protection to your printer from damage
268 254
  * and fire. Marlin always includes safe min and max temperature ranges which
@@ -3766,6 +3752,20 @@
3766 3752
       #define I2C_AMMETER_SHUNT_RESISTOR  0.1    // (Ohms) Calibration shunt resistor value
3767 3753
     #endif
3768 3754
 
3755
+    //
3756
+    // Laser Coolant Flow Meter
3757
+    //
3758
+    //#define LASER_COOLANT_FLOW_METER
3759
+    #if ENABLED(LASER_COOLANT_FLOW_METER)
3760
+      #define FLOWMETER_PIN         20  // Requires an external interrupt-enabled pin (e.g., RAMPS 2,3,18,19,20,21)
3761
+      #define FLOWMETER_PPL       5880  // (pulses/liter) Flow meter pulses-per-liter on the input pin
3762
+      #define FLOWMETER_INTERVAL  1000  // (ms) Flow rate calculation interval in milliseconds
3763
+      #define FLOWMETER_SAFETY          // Prevent running the laser without the minimum flow rate set below
3764
+      #if ENABLED(FLOWMETER_SAFETY)
3765
+        #define FLOWMETER_MIN_LITERS_PER_MINUTE 1.5 // (liters/min) Minimum flow required when enabled
3766
+      #endif
3767
+    #endif
3768
+
3769 3769
   #endif
3770 3770
 #endif // SPINDLE_FEATURE || LASER_FEATURE
3771 3771
 

Завантаження…
Відмінити
Зберегти