forked from Mirrors/Marlin
🩹 Minor ExtUI/DGUS code fix/cleanup
This commit is contained in:
@@ -70,13 +70,11 @@ namespace ExtUI {
|
||||
void onUserConfirmRequired(const char * const msg) { chiron.confirmationRequest(msg); }
|
||||
|
||||
// For fancy LCDs include an icon ID, message, and translated button title
|
||||
void onUserConfirmRequired(const int icon, const char * const cstr, FSTR_P const fBtn) {
|
||||
void onUserConfirmRequired(const int, const char * const cstr, FSTR_P const) {
|
||||
onUserConfirmRequired(cstr);
|
||||
UNUSED(icon); UNUSED(fBtn);
|
||||
}
|
||||
void onUserConfirmRequired(const int icon, FSTR_P const fstr, FSTR_P const fBtn) {
|
||||
void onUserConfirmRequired(const int, FSTR_P const fstr, FSTR_P const) {
|
||||
onUserConfirmRequired(fstr);
|
||||
UNUSED(icon); UNUSED(fBtn);
|
||||
}
|
||||
|
||||
#if ENABLED(ADVANCED_PAUSE_FEATURE)
|
||||
|
||||
@@ -58,13 +58,11 @@ namespace ExtUI {
|
||||
void onUserConfirmRequired(const char * const msg) { anycubicTFT.onUserConfirmRequired(msg); }
|
||||
|
||||
// For fancy LCDs include an icon ID, message, and translated button title
|
||||
void onUserConfirmRequired(const int icon, const char * const cstr, FSTR_P const fBtn) {
|
||||
void onUserConfirmRequired(const int, const char * const cstr, FSTR_P const) {
|
||||
onUserConfirmRequired(cstr);
|
||||
UNUSED(icon); UNUSED(fBtn);
|
||||
}
|
||||
void onUserConfirmRequired(const int icon, FSTR_P const fstr, FSTR_P const fBtn) {
|
||||
void onUserConfirmRequired(const int, FSTR_P const fstr, FSTR_P const) {
|
||||
onUserConfirmRequired(fstr);
|
||||
UNUSED(icon); UNUSED(fBtn);
|
||||
}
|
||||
|
||||
#if ENABLED(ADVANCED_PAUSE_FEATURE)
|
||||
|
||||
@@ -70,13 +70,11 @@ namespace ExtUI {
|
||||
void onUserConfirmRequired(const char * const msg) { dgus.confirmationRequest(msg); }
|
||||
|
||||
// For fancy LCDs include an icon ID, message, and translated button title
|
||||
void onUserConfirmRequired(const int icon, const char * const cstr, FSTR_P const fBtn) {
|
||||
void onUserConfirmRequired(const int, const char * const cstr, FSTR_P const) {
|
||||
onUserConfirmRequired(cstr);
|
||||
UNUSED(icon); UNUSED(fBtn);
|
||||
}
|
||||
void onUserConfirmRequired(const int icon, FSTR_P const fstr, FSTR_P const fBtn) {
|
||||
void onUserConfirmRequired(const int, FSTR_P const fstr, FSTR_P const) {
|
||||
onUserConfirmRequired(fstr);
|
||||
UNUSED(icon); UNUSED(fBtn);
|
||||
}
|
||||
|
||||
#if ENABLED(ADVANCED_PAUSE_FEATURE)
|
||||
|
||||
@@ -88,13 +88,11 @@ namespace ExtUI {
|
||||
}
|
||||
|
||||
// For fancy LCDs include an icon ID, message, and translated button title
|
||||
void onUserConfirmRequired(const int icon, const char * const cstr, FSTR_P const fBtn) {
|
||||
void onUserConfirmRequired(const int, const char * const cstr, FSTR_P const) {
|
||||
onUserConfirmRequired(cstr);
|
||||
UNUSED(icon); UNUSED(fBtn);
|
||||
}
|
||||
void onUserConfirmRequired(const int icon, FSTR_P const fstr, FSTR_P const fBtn) {
|
||||
void onUserConfirmRequired(const int, FSTR_P const fstr, FSTR_P const) {
|
||||
onUserConfirmRequired(fstr);
|
||||
UNUSED(icon); UNUSED(fBtn);
|
||||
}
|
||||
|
||||
#if ENABLED(ADVANCED_PAUSE_FEATURE)
|
||||
|
||||
@@ -503,7 +503,7 @@ void DGUSRxHandler::probe(DGUS_VP &vp, void *data_ptr) {
|
||||
UNUSED(data_ptr);
|
||||
|
||||
#if ENABLED(MESH_BED_LEVELING)
|
||||
screen.setStatusMessage(FPSTR(DGUS_MSG_ABL_REQUIRED));
|
||||
screen.setStatusMessage(GET_TEXT_F(DGUS_MSG_ABL_REQUIRED));
|
||||
return;
|
||||
#endif
|
||||
|
||||
|
||||
@@ -83,13 +83,11 @@ namespace ExtUI {
|
||||
}
|
||||
|
||||
// For fancy LCDs include an icon ID, message, and translated button title
|
||||
void onUserConfirmRequired(const int icon, const char * const cstr, FSTR_P const fBtn) {
|
||||
void onUserConfirmRequired(const int, const char * const cstr, FSTR_P const) {
|
||||
onUserConfirmRequired(cstr);
|
||||
UNUSED(icon); UNUSED(fBtn);
|
||||
}
|
||||
void onUserConfirmRequired(const int icon, FSTR_P const fstr, FSTR_P const fBtn) {
|
||||
void onUserConfirmRequired(const int, FSTR_P const fstr, FSTR_P const) {
|
||||
onUserConfirmRequired(fstr);
|
||||
UNUSED(icon); UNUSED(fBtn);
|
||||
}
|
||||
|
||||
#if ENABLED(ADVANCED_PAUSE_FEATURE)
|
||||
|
||||
@@ -133,13 +133,11 @@ namespace ExtUI {
|
||||
#endif
|
||||
|
||||
// For fancy LCDs include an icon ID, message, and translated button title
|
||||
void onUserConfirmRequired(const int icon, const char * const cstr, FSTR_P const fBtn) {
|
||||
void onUserConfirmRequired(const int, const char * const cstr, FSTR_P const) {
|
||||
onUserConfirmRequired(cstr);
|
||||
UNUSED(icon); UNUSED(fBtn);
|
||||
}
|
||||
void onUserConfirmRequired(const int icon, FSTR_P const fstr, FSTR_P const fBtn) {
|
||||
void onUserConfirmRequired(const int, FSTR_P const fstr, FSTR_P const) {
|
||||
onUserConfirmRequired(fstr);
|
||||
UNUSED(icon); UNUSED(fBtn);
|
||||
}
|
||||
|
||||
#if ENABLED(ADVANCED_PAUSE_FEATURE)
|
||||
|
||||
@@ -233,13 +233,11 @@ void onUserConfirmRequired(const char *const msg) {
|
||||
}
|
||||
|
||||
// For fancy LCDs include an icon ID, message, and translated button title
|
||||
void onUserConfirmRequired(const int icon, const char * const cstr, FSTR_P const fBtn) {
|
||||
void onUserConfirmRequired(const int, const char * const cstr, FSTR_P const) {
|
||||
onUserConfirmRequired(cstr);
|
||||
UNUSED(icon); UNUSED(fBtn);
|
||||
}
|
||||
void onUserConfirmRequired(const int icon, FSTR_P const fstr, FSTR_P const fBtn) {
|
||||
void onUserConfirmRequired(const int, FSTR_P const fstr, FSTR_P const) {
|
||||
onUserConfirmRequired(fstr);
|
||||
UNUSED(icon); UNUSED(fBtn);
|
||||
}
|
||||
|
||||
#if ENABLED(ADVANCED_PAUSE_FEATURE)
|
||||
|
||||
@@ -56,13 +56,11 @@ namespace ExtUI {
|
||||
void onUserConfirmRequired(const char * const msg) { nextion.confirmationRequest(msg); }
|
||||
|
||||
// For fancy LCDs include an icon ID, message, and translated button title
|
||||
void onUserConfirmRequired(const int icon, const char * const cstr, FSTR_P const fBtn) {
|
||||
void onUserConfirmRequired(const int, const char * const cstr, FSTR_P const) {
|
||||
onUserConfirmRequired(cstr);
|
||||
UNUSED(icon); UNUSED(fBtn);
|
||||
}
|
||||
void onUserConfirmRequired(const int icon, FSTR_P const fstr, FSTR_P const fBtn) {
|
||||
void onUserConfirmRequired(const int, FSTR_P const fstr, FSTR_P const) {
|
||||
onUserConfirmRequired(fstr);
|
||||
UNUSED(icon); UNUSED(fBtn);
|
||||
}
|
||||
|
||||
#if ENABLED(ADVANCED_PAUSE_FEATURE)
|
||||
|
||||
Reference in New Issue
Block a user