Reduce string storage, use masking 'seen'

This commit is contained in:
Scott Lahteine committed 2019-09-26 04:30:55 -05:00
1 parent 455dabb183
commit 665e45e0ba
24 files changed
+70 -94

No files matched your search

+1 -1
View File
@@ -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"));