From 320a79ba72cff5aa026fba1f9ee0b0b1adf48bbe Mon Sep 17 00:00:00 2001 From: Aurora Date: Sun, 13 Nov 2016 18:13:12 +0100 Subject: [PATCH] Fix derp --- source/config.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/config.c b/source/config.c index 3af1714..fd8c3b4 100644 --- a/source/config.c +++ b/source/config.c @@ -228,7 +228,7 @@ void configMenu(bool isSdMode, bool oldPinStatus, u32 oldPinMode) totalIndexes = multiOptionsAmount + singleOptionsAmount - 1, selectedOption, singleSelected; - bool isMultiOption; + bool isMultiOption = false; //Parse the existing options for(u32 i = 0; i < multiOptionsAmount; i++) @@ -270,6 +270,7 @@ void configMenu(bool isSdMode, bool oldPinStatus, u32 oldPinMode) if(color == COLOR_RED) { + singleSelected = i; selectedOption = i + multiOptionsAmount; color = COLOR_WHITE; }