|
@ -46,7 +46,7 @@ |
|
|
#include "../../gcode/parser.h" |
|
|
#include "../../gcode/parser.h" |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#if HAS_COOLER || HAS_FLOWMETER |
|
|
#if EITHER(HAS_COOLER, LASER_COOLANT_FLOW_METER) |
|
|
#include "../../feature/cooler.h" |
|
|
#include "../../feature/cooler.h" |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
@ -584,7 +584,7 @@ FORCE_INLINE void _draw_cooler_status(const char prefix, const bool blink) { |
|
|
} |
|
|
} |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#if HAS_FLOWMETER |
|
|
#if ENABLED(LASER_COOLANT_FLOW_METER) |
|
|
FORCE_INLINE void _draw_flowmeter_status() { |
|
|
FORCE_INLINE void _draw_flowmeter_status() { |
|
|
lcd_put_u8str("~ "); |
|
|
lcd_put_u8str("~ "); |
|
|
lcd_put_u8str(ftostr11ns(cooler.flowrate)); |
|
|
lcd_put_u8str(ftostr11ns(cooler.flowrate)); |
|
@ -827,7 +827,7 @@ void MarlinUI::draw_status_screen() { |
|
|
#if HAS_COOLER |
|
|
#if HAS_COOLER |
|
|
_draw_cooler_status('*', blink); |
|
|
_draw_cooler_status('*', blink); |
|
|
#endif |
|
|
#endif |
|
|
#if HAS_FLOWMETER |
|
|
#if ENABLED(LASER_COOLANT_FLOW_METER) |
|
|
_draw_flowmeter_status(); |
|
|
_draw_flowmeter_status(); |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|