We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cea432e commit cc281a5Copy full SHA for cc281a5
Firmware/RTK_Everywhere/menuCommands.ino
@@ -258,6 +258,13 @@ t_cliResult processCommand(char *cmdBuffer)
258
commandSendExecuteOkResponse(tokens[0], tokens[1]);
259
return (CLI_OK);
260
}
261
+ else if (strcmp(tokens[1], "FACTORYRESET") == 0)
262
+ {
263
+ // Apply factory defaults, then reset
264
+ commandSendExecuteOkResponse(tokens[0], tokens[1]);
265
+ factoryReset(false); // We do not have the SD semaphore
266
+ return (CLI_OK); //We should never get this far.
267
+ }
268
else
269
{
270
commandSendErrorResponse(tokens[0], tokens[1], (char *)"Unknown command");
0 commit comments