Followup to Laser Flow Meter (#21498)
This commit is contained in:
@ -46,7 +46,7 @@
|
||||
#include "../../gcode/parser.h"
|
||||
#endif
|
||||
|
||||
#if HAS_COOLER || HAS_FLOWMETER
|
||||
#if EITHER(HAS_COOLER, LASER_COOLANT_FLOW_METER)
|
||||
#include "../../feature/cooler.h"
|
||||
#endif
|
||||
|
||||
@ -584,7 +584,7 @@ FORCE_INLINE void _draw_cooler_status(const char prefix, const bool blink) {
|
||||
}
|
||||
#endif
|
||||
|
||||
#if HAS_FLOWMETER
|
||||
#if ENABLED(LASER_COOLANT_FLOW_METER)
|
||||
FORCE_INLINE void _draw_flowmeter_status() {
|
||||
lcd_put_u8str("~ ");
|
||||
lcd_put_u8str(ftostr11ns(cooler.flowrate));
|
||||
@ -827,7 +827,7 @@ void MarlinUI::draw_status_screen() {
|
||||
#if HAS_COOLER
|
||||
_draw_cooler_status('*', blink);
|
||||
#endif
|
||||
#if HAS_FLOWMETER
|
||||
#if ENABLED(LASER_COOLANT_FLOW_METER)
|
||||
_draw_flowmeter_status();
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user