Browse Source

🐛 Fix DGUS Reloaded status message (#23090)

vanilla_fb_2.0.x
ellensp 3 years ago
committed by Scott Lahteine
parent
commit
396df93220
  1. 2
      Marlin/src/lcd/extui/dgus_reloaded/DGUSScreenHandler.cpp

2
Marlin/src/lcd/extui/dgus_reloaded/DGUSScreenHandler.cpp

@ -409,7 +409,7 @@ void DGUSScreenHandler::SetStatusMessage(const char* msg, const millis_t duratio
} }
void DGUSScreenHandler::SetStatusMessage(FSTR_P const fmsg, const millis_t duration) { void DGUSScreenHandler::SetStatusMessage(FSTR_P const fmsg, const millis_t duration) {
dgus_display.WriteStringPGM((uint16_t)DGUS_Addr::MESSAGE_Status, FTOP(msg), DGUS_STATUS_LEN, false, true); dgus_display.WriteStringPGM((uint16_t)DGUS_Addr::MESSAGE_Status, FTOP(fmsg), DGUS_STATUS_LEN, false, true);
status_expire = (duration > 0 ? ExtUI::safe_millis() + duration : 0); status_expire = (duration > 0 ? ExtUI::safe_millis() + duration : 0);
} }

Loading…
Cancel
Save