|
@@ -1162,7 +1162,7 @@ void MarlinUI::update() {
|
1162
|
1162
|
/////////////// Status Line ////////////////
|
1163
|
1163
|
////////////////////////////////////////////
|
1164
|
1164
|
|
1165
|
|
- void MarlinUI::finishstatus(const bool persist) {
|
|
1165
|
+ void MarlinUI::finish_status(const bool persist) {
|
1166
|
1166
|
|
1167
|
1167
|
#if !(ENABLED(LCD_PROGRESS_BAR) && (PROGRESS_MSG_EXPIRE > 0))
|
1168
|
1168
|
UNUSED(persist);
|
|
@@ -1214,7 +1214,7 @@ void MarlinUI::update() {
|
1214
|
1214
|
strncpy(status_message, message, maxLen);
|
1215
|
1215
|
status_message[maxLen] = '\0';
|
1216
|
1216
|
|
1217
|
|
- finishstatus(persist);
|
|
1217
|
+ finish_status(persist);
|
1218
|
1218
|
}
|
1219
|
1219
|
|
1220
|
1220
|
#include <stdarg.h>
|
|
@@ -1226,7 +1226,7 @@ void MarlinUI::update() {
|
1226
|
1226
|
va_start(args, fmt);
|
1227
|
1227
|
vsnprintf_P(status_message, MAX_MESSAGE_LENGTH, fmt, args);
|
1228
|
1228
|
va_end(args);
|
1229
|
|
- finishstatus(level > 0);
|
|
1229
|
+ finish_status(level > 0);
|
1230
|
1230
|
}
|
1231
|
1231
|
|
1232
|
1232
|
void MarlinUI::set_status_P(PGM_P const message, int8_t level) {
|
|
@@ -1253,7 +1253,7 @@ void MarlinUI::update() {
|
1253
|
1253
|
strncpy_P(status_message, message, maxLen);
|
1254
|
1254
|
status_message[maxLen] = '\0';
|
1255
|
1255
|
|
1256
|
|
- finishstatus(level > 0);
|
|
1256
|
+ finish_status(level > 0);
|
1257
|
1257
|
}
|
1258
|
1258
|
|
1259
|
1259
|
void MarlinUI::set_alert_status_P(PGM_P const message) {
|