Init old_red to 127 to ensure initial change

Fix #10012
2.0.x
Scott Lahteine 7 years ago
parent 317673fec3
commit 42608b1925

@ -94,7 +94,7 @@ void GcodeSuite::M190() {
#if ENABLED(PRINTER_EVENT_LEDS) #if ENABLED(PRINTER_EVENT_LEDS)
const float start_temp = thermalManager.degBed(); const float start_temp = thermalManager.degBed();
uint8_t old_red = 255; uint8_t old_red = 127;
#endif #endif
do { do {

Loading…
Cancel
Save