Reduce string storage, use masking 'seen'
This commit is contained in:
1 parent
455dabb183
commit
665e45e0ba
24 files changed
+70
-94
No files matched your search
@@ -47,7 +47,7 @@ void GcodeSuite::M413() {
|
||||
}
|
||||
|
||||
#if ENABLED(DEBUG_POWER_LOSS_RECOVERY)
|
||||
if (parser.seen('R') || parser.seen('L')) recovery.load();
|
||||
if (parser.seen("RL")) recovery.load();
|
||||
if (parser.seen('W')) recovery.save(true);
|
||||
if (parser.seen('P')) recovery.purge();
|
||||
if (parser.seen('E')) serialprintPGM(recovery.exists() ? PSTR("PLR Exists\n") : PSTR("No PLR\n"));
|
||||
|
||||
Reference in new issue
Block a user