This commit is contained in:
Aurora 2016-11-13 18:13:12 +01:00
parent 2e1b943805
commit 320a79ba72

View File

@ -228,7 +228,7 @@ void configMenu(bool isSdMode, bool oldPinStatus, u32 oldPinMode)
totalIndexes = multiOptionsAmount + singleOptionsAmount - 1, totalIndexes = multiOptionsAmount + singleOptionsAmount - 1,
selectedOption, selectedOption,
singleSelected; singleSelected;
bool isMultiOption; bool isMultiOption = false;
//Parse the existing options //Parse the existing options
for(u32 i = 0; i < multiOptionsAmount; i++) for(u32 i = 0; i < multiOptionsAmount; i++)
@ -270,6 +270,7 @@ void configMenu(bool isSdMode, bool oldPinStatus, u32 oldPinMode)
if(color == COLOR_RED) if(color == COLOR_RED)
{ {
singleSelected = i;
selectedOption = i + multiOptionsAmount; selectedOption = i + multiOptionsAmount;
color = COLOR_WHITE; color = COLOR_WHITE;
} }