neutrino remove unused fromflash from CmdParser()

Origin commit data
------------------
Commit: 6437793f78
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-01-05 (Fri, 05 Jan 2024)

Origin message was:
------------------
- neutrino remove unused fromflash from CmdParser()

------------------
No further description and justification available within origin commit message!
This commit is contained in:
vanhofen
2024-01-05 23:02:50 +01:00
committed by Thilo Graf
parent 686358f186
commit eecee58095
2 changed files with 0 additions and 6 deletions

View File

@@ -2553,7 +2553,6 @@ void CNeutrinoApp::CmdParser(int argc, char **argv)
sections_debug = 1;
softupdate = false;
//fromflash = false;
for(int x=1; x<argc; x++) {
if ((!strcmp(argv[x], "-u")) || (!strcmp(argv[x], "--enable-update"))) {
@@ -2561,10 +2560,6 @@ void CNeutrinoApp::CmdParser(int argc, char **argv)
softupdate = true;
allow_flash = 1;
}
/*else if ((!strcmp(argv[x], "-f")) || (!strcmp(argv[x], "--enable-flash"))) {
dprintf(DEBUG_NORMAL, "enable flash\n");
fromflash = true;
}*/
else if (((!strcmp(argv[x], "-v")) || (!strcmp(argv[x], "--verbose"))) && (x+1 < argc)) {
int dl = atoi(argv[x+ 1]);
dprintf(DEBUG_NORMAL, "set debuglevel: %d\n", dl);