Good bot -- make array large enough to handle all the possible options

This commit is contained in:
Jonathan Bennett 2025-07-02 22:39:29 -05:00
parent 409dfe22ae
commit 549250b91a

View File

@ -352,8 +352,8 @@ void menuHandler::systemBaseMenu()
#endif
enum optionsNumbers { Back, Beeps, Brightness, Reboot, Color, MUI, Test };
static const char *optionsArray[6] = {"Back"};
static int optionsEnumArray[6] = {Back};
static const char *optionsArray[7] = {"Back"};
static int optionsEnumArray[7] = {Back};
int options = 1;
optionsArray[options] = "Beeps Action";