Followup to Laser Flow Meter (#21498)

This commit is contained in:
Mike La Spina
2021-04-01 19:29:49 -05:00
committed by GitHub
parent 6747d350a5
commit 235ba92602
6 changed files with 11 additions and 11 deletions

View File

@ -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