Fix draw_temps missing define compile (#17750)
This commit is contained in:
parent
267c25fd53
commit
9b90dfaa48
@ -579,7 +579,7 @@ void ST7920_Lite_Status_Screen::draw_extruder_2_temp(const int16_t temp, const i
|
|||||||
#if HAS_HEATED_BED
|
#if HAS_HEATED_BED
|
||||||
void ST7920_Lite_Status_Screen::draw_bed_temp(const int16_t temp, const int16_t target, bool forceUpdate) {
|
void ST7920_Lite_Status_Screen::draw_bed_temp(const int16_t temp, const int16_t target, bool forceUpdate) {
|
||||||
const bool show_target = target && FAR(temp, target);
|
const bool show_target = target && FAR(temp, target);
|
||||||
draw_temps(HAS_MULTI_HOTEND ? 2 : 1, temp, target, show_target, display_state.bed_show_target != show_target || forceUpdate);
|
draw_temps(TERN(HAS_MULTI_HOTEND, 2, 1), temp, target, show_target, display_state.bed_show_target != show_target || forceUpdate);
|
||||||
display_state.bed_show_target = show_target;
|
display_state.bed_show_target = show_target;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user