Fix derp
This commit is contained in:
parent
2e1b943805
commit
320a79ba72
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user