|
@@ -582,8 +582,8 @@ FORCE_INLINE void _draw_axis_label(const AxisEnum axis, const char* const pstr,
|
582
|
582
|
FORCE_INLINE void _draw_heater_status(const int8_t heater, const char prefix, const bool blink) {
|
583
|
583
|
const bool isBed = heater < 0;
|
584
|
584
|
|
585
|
|
- const float t1 = (isBed ? thermalManager.degBed() : thermalManager.degHotend(heater));
|
586
|
|
- const float t2 = (isBed ? thermalManager.degTargetBed() : thermalManager.degTargetHotend(heater));
|
|
585
|
+ const float t1 = (isBed ? thermalManager.degBed() : thermalManager.degHotend(heater)),
|
|
586
|
+ t2 = (isBed ? thermalManager.degTargetBed() : thermalManager.degTargetHotend(heater));
|
587
|
587
|
|
588
|
588
|
if (prefix >= 0) lcd.print(prefix);
|
589
|
589
|
|
|
@@ -592,11 +592,11 @@ FORCE_INLINE void _draw_heater_status(const int8_t heater, const char prefix, co
|
592
|
592
|
|
593
|
593
|
#if ENABLED(ADVANCED_PAUSE_FEATURE)
|
594
|
594
|
const bool is_idle = (!isBed ? thermalManager.is_heater_idle(heater) :
|
595
|
|
- #if HAS_TEMP_BED
|
596
|
|
- thermalManager.is_bed_idle()
|
597
|
|
- #else
|
598
|
|
- false
|
599
|
|
- #endif
|
|
595
|
+ #if HAS_TEMP_BED
|
|
596
|
+ thermalManager.is_bed_idle()
|
|
597
|
+ #else
|
|
598
|
+ false
|
|
599
|
+ #endif
|
600
|
600
|
);
|
601
|
601
|
|
602
|
602
|
if (!blink && is_idle) {
|
|
@@ -606,7 +606,7 @@ FORCE_INLINE void _draw_heater_status(const int8_t heater, const char prefix, co
|
606
|
606
|
}
|
607
|
607
|
else
|
608
|
608
|
#endif
|
609
|
|
- lcd.print(itostr3left(t2 + 0.5));
|
|
609
|
+ lcd.print(itostr3left(t2 + 0.5));
|
610
|
610
|
|
611
|
611
|
if (prefix >= 0) {
|
612
|
612
|
lcd_printPGM(PSTR(LCD_STR_DEGREE " "));
|
|
@@ -831,7 +831,7 @@ static void lcd_implementation_status_screen() {
|
831
|
831
|
const uint8_t slen = lcd_strlen(lcd_status_message);
|
832
|
832
|
if (slen > LCD_WIDTH) {
|
833
|
833
|
// Skip any non-printing bytes
|
834
|
|
- while (!charset_mapper(lcd_status_message[status_scroll_pos])) ++status_scroll_pos;
|
|
834
|
+ while (!PRINTABLE(lcd_status_message[status_scroll_pos])) ++status_scroll_pos;
|
835
|
835
|
if (++status_scroll_pos > slen - LCD_WIDTH) status_scroll_pos = 0;
|
836
|
836
|
}
|
837
|
837
|
#else
|