Laser Coolant Flow Meter / Safety Shutdown (#21431)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
@@ -27,11 +27,21 @@
|
||||
#include "cooler.h"
|
||||
Cooler cooler;
|
||||
|
||||
uint16_t Cooler::flowrate; // Flow meter reading in liters, 0 will result in shutdown if equiped
|
||||
uint8_t Cooler::mode = 0; // 0 = CO2 Liquid cooling, 1 = Laser Diode TEC Heatsink Cooling
|
||||
uint16_t Cooler::capacity; // Cooling capacity in watts
|
||||
uint16_t Cooler::load; // Cooling load in watts
|
||||
bool Cooler::flowmeter = false;
|
||||
bool Cooler::state = false; // on = true, off = false
|
||||
uint8_t Cooler::mode = 0;
|
||||
uint16_t Cooler::capacity;
|
||||
uint16_t Cooler::load;
|
||||
bool Cooler::enabled = false;
|
||||
|
||||
#if ENABLED(LASER_COOLANT_FLOW_METER)
|
||||
bool Cooler::flowmeter = false;
|
||||
millis_t Cooler::flowmeter_next_ms; // = 0
|
||||
volatile uint16_t Cooler::flowpulses;
|
||||
float Cooler::flowrate;
|
||||
#endif
|
||||
|
||||
#if ENABLED(FLOWMETER_SAFETY)
|
||||
bool Cooler::flowsafety_enabled = true;
|
||||
bool Cooler::fault = false;
|
||||
#endif
|
||||
|
||||
#endif // HAS_COOLER
|
||||
|
||||
Reference in New Issue
Block a user