Skip to content

Commit

Permalink
fix minor errors
Browse files Browse the repository at this point in the history
  • Loading branch information
AKuHAK committed Sep 2, 2024
1 parent 87526eb commit b03c379
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions base/eeprom-id.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ int EEPROMNTSCPALDefaults(int vmode)
MechaCommandAdd(MECHA_CMD_SETUP_OSD, "00", id++, 0, 6000, "WR INIT NTSC");
else
MechaCommandAdd(MECHA_CMD_SETUP_OSD, "01", id++, 0, 6000, "WR INIT PAL");
MechaCommandAdd(MECHA_TASK_UI_CMD_WAIT, NULL, MECHA_TASK_ID_UI, 0, 100, "EEPROM WAIT 100ms");

return MechaCommandExecuteList(NULL, &EEPROMIDRxHandler);
}
Expand Down
4 changes: 1 addition & 3 deletions base/eeprom-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,6 @@ void MenuEEPROM(void)
};
break;
case 2:
{
char useDefault;
char default_filename[256];
u32 serial = 0;
Expand Down Expand Up @@ -419,8 +418,7 @@ void MenuEEPROM(void)
}

PlatShowMessage("Dump %s.\n", DumpEEPROM(filename) == 0 ? "completed" : "failed");
}
break;
break;
case 3:
PlatShowMessage("Enter dump filename: ");
if (fgets(filename, sizeof(filename), stdin))
Expand Down

0 comments on commit b03c379

Please sign in to comment.