Merge pull request #726 from L4ky/add-reset-button-webui-console

Add Factory Reset button to WebUI an command to Console
This commit is contained in:
Rob Emery authored and GitHub committed 2026-10-30 18:28:01 +00:00
commit d23583b5f1
1 file changed
+4
+4
View File
@@ -1872,6 +1872,10 @@ void cmd_parser(void) __banked
if (cmd_compare(0, "reset")) {
print_string("\nRESET\n\n");
reset_chip();
} else if (cmd_compare(0, "factory-reset")) {
print_string("\nFACTORY RESET\n\n");
flash_default_config();
reset_chip();
} else if (cmd_compare(0, "sfp")) {
parse_sfp();
} else if (cmd_compare(0, "stat")) {