Issue 13 fixed (HELI menu)
This commit is contained in:
+1
-2
@@ -1717,8 +1717,7 @@ void menuModelHeli(uint8_t event)
|
|||||||
|
|
||||||
for (uint8_t i=0; i<6; i++) {
|
for (uint8_t i=0; i<6; i++) {
|
||||||
uint8_t y = 1 + 1*FH + i*FH;
|
uint8_t y = 1 + 1*FH + i*FH;
|
||||||
uint8_t attr = (sub == i ? INVERS : 0);
|
uint8_t attr = (sub == i ? ((s_editMode>0) ? BLINK|INVERS : INVERS) : 0);
|
||||||
|
|
||||||
switch(i) {
|
switch(i) {
|
||||||
case ITEM_HELI_SWASHTYPE:
|
case ITEM_HELI_SWASHTYPE:
|
||||||
g_model.swashR.type = selectMenuItem(HELI_PARAM_OFS, y, STR_SWASHTYPE, STR_VSWASHTYPE, g_model.swashR.type, 0, SWASH_TYPE_NUM, attr, event);
|
g_model.swashR.type = selectMenuItem(HELI_PARAM_OFS, y, STR_SWASHTYPE, STR_VSWASHTYPE, g_model.swashR.type, 0, SWASH_TYPE_NUM, attr, event);
|
||||||
|
|||||||
Reference in New Issue
Block a user