Fix some DOGM warnings (#16363)
This commit is contained in:
committed by
Scott Lahteine
parent
0be8b22d3c
commit
92ad973729
@@ -235,13 +235,15 @@ FORCE_INLINE void _draw_centered_temp(const int16_t temp, const uint8_t tx, cons
|
||||
UNUSED(blink);
|
||||
#endif
|
||||
|
||||
const bool isHeat = BED_ALT();
|
||||
|
||||
const uint8_t tx = STATUS_BED_TEXT_X;
|
||||
|
||||
const float temp = thermalManager.degBed(),
|
||||
target = thermalManager.degTargetBed();
|
||||
|
||||
#if ENABLED(STATUS_HEAT_PERCENT) || (DO_DRAW_BED && DISABLED(STATUS_BED_ANIM))
|
||||
const bool isHeat = BED_ALT();
|
||||
#endif
|
||||
|
||||
#if DO_DRAW_BED && DISABLED(STATUS_BED_ANIM)
|
||||
#define STATIC_BED true
|
||||
#define BED_DOT isHeat
|
||||
|
||||
Reference in New Issue
Block a user