Fix optionsValue related casting

This fixes #7170
This commit is contained in:
3djc
2019-12-09 07:38:51 +01:00
parent d51215bc0a
commit 1e020c5f2f
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1635,7 +1635,7 @@ bool menuModelSetup(event_t event)
lcdDrawNumber(MODEL_SETUP_2ND_COLUMN, y, optionValue, LEFT | attr);
if (attr) {
uint8_t min, max;
int8_t min, max;
getMultiOptionValues(multi_proto, min, max);
CHECK_INCDEC_MODELVAR(event, g_model.moduleData[moduleIdx].multi.optionValue, min, max);
}