Add ExtUI::onStatusChanged_P (#17543)
This commit is contained in:
@ -1071,6 +1071,12 @@ namespace ExtUI {
|
||||
onUserConfirmRequired(msg);
|
||||
}
|
||||
|
||||
void onStatusChanged_P(PGM_P const pstr) {
|
||||
char msg[strlen_P(pstr) + 1];
|
||||
strcpy_P(msg, pstr);
|
||||
onStatusChanged(msg);
|
||||
}
|
||||
|
||||
FileList::FileList() { refresh(); }
|
||||
|
||||
void FileList::refresh() { num_files = 0xFFFF; }
|
||||
|
@ -339,6 +339,7 @@ namespace ExtUI {
|
||||
void onUserConfirmRequired(const char * const msg);
|
||||
void onUserConfirmRequired_P(PGM_P const pstr);
|
||||
void onStatusChanged(const char * const msg);
|
||||
void onStatusChanged_P(PGM_P const pstr);
|
||||
void onFactoryReset();
|
||||
void onStoreSettings(char *);
|
||||
void onLoadSettings(const char *);
|
||||
|
Reference in New Issue
Block a user