Formatting in _draw_heater_status
This commit is contained in:
parent
6b9ca16f36
commit
266ae8912a
@ -582,8 +582,8 @@ FORCE_INLINE void _draw_axis_label(const AxisEnum axis, const char* const pstr,
|
|||||||
FORCE_INLINE void _draw_heater_status(const int8_t heater, const char prefix, const bool blink) {
|
FORCE_INLINE void _draw_heater_status(const int8_t heater, const char prefix, const bool blink) {
|
||||||
const bool isBed = heater < 0;
|
const bool isBed = heater < 0;
|
||||||
|
|
||||||
const float t1 = (isBed ? thermalManager.degBed() : thermalManager.degHotend(heater));
|
const float t1 = (isBed ? thermalManager.degBed() : thermalManager.degHotend(heater)),
|
||||||
const float t2 = (isBed ? thermalManager.degTargetBed() : thermalManager.degTargetHotend(heater));
|
t2 = (isBed ? thermalManager.degTargetBed() : thermalManager.degTargetHotend(heater));
|
||||||
|
|
||||||
if (prefix >= 0) lcd.print(prefix);
|
if (prefix >= 0) lcd.print(prefix);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user