Pre-select the autoboot option

This commit is contained in:
Maschell 2021-12-29 17:12:47 +01:00
parent 466b42674c
commit fb5cf55dd6
1 changed files with 1 additions and 1 deletions

View File

@ -270,7 +270,7 @@ int32_t handleMenuScreen(int32_t autobootOptionInput) {
DrawUtils::initBuffers(screenBuffer, tvBufferSize, screenBuffer + tvBufferSize, drcBufferSize);
DrawUtils::initFont();
uint32_t selected = 0;
uint32_t selected = autobootOptionInput > 0 ? autobootOptionInput : 0;
int autoboot = autobootOptionInput;
bool redraw = true;
while (true) {