Optimize common strings
Saves 128 bytes in testing with `mftest mega 1 -y`
This commit is contained in:
@@ -64,6 +64,8 @@ void host_action(const char * const pstr, const bool eol) {
|
||||
|
||||
#if ENABLED(HOST_PROMPT_SUPPORT)
|
||||
|
||||
const char CONTINUE_STR[] PROGMEM = "Continue";
|
||||
|
||||
#if HAS_RESUME_CONTINUE
|
||||
extern bool wait_for_user;
|
||||
#endif
|
||||
@@ -126,7 +128,7 @@ void host_action(const char * const pstr, const bool eol) {
|
||||
host_action_prompt_button(PSTR("DisableRunout"));
|
||||
else {
|
||||
host_prompt_reason = PROMPT_FILAMENT_RUNOUT;
|
||||
host_action_prompt_button(PSTR("Continue"));
|
||||
host_action_prompt_button(CONTINUE_STR);
|
||||
}
|
||||
host_action_prompt_show();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user