neutrino remove unused fromflash from CmdParser()

Origin commit data
------------------
Branch: ni/coolstream
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 was generated by Migit
This commit is contained in:
vanhofen
2024-01-05 23:02:50 +01:00
parent 65303abc1e
commit 904ee92b7e
2 changed files with 0 additions and 6 deletions

View File

@@ -2557,7 +2557,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"))) {
@@ -2565,10 +2564,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);

View File

@@ -85,7 +85,6 @@ private:
int mode;
int lastMode;
bool softupdate;
// bool fromflash;
bool init_cec_setting;
int lastChannelMode;
struct timeval standby_pressed_at;