mirror of
https://github.com/opentx/opentx.git
synced 2025-07-18 22:05:10 +03:00
[Taranis] Issue #554 - Constant used instead of hardcoded value
This commit is contained in:
parent
80a6c4727d
commit
b44fa1432e
2 changed files with 2 additions and 3 deletions
|
@ -1776,8 +1776,7 @@ void menuModelFlightModesAll(uint8_t event)
|
|||
for (uint8_t j=0; j<ITEM_PHASES_COUNT; j++) {
|
||||
uint8_t attr = ((sub==k && posHorz==j) ? ((s_editMode>0) ? BLINK|INVERS : INVERS) : 0);
|
||||
uint8_t active = (attr && (s_editMode>0 || p1valdiff)) ;
|
||||
switch(j)
|
||||
{
|
||||
switch (j) {
|
||||
case ITEM_PHASES_NAME:
|
||||
editName(4*FW-1, y, p->name, sizeof(p->name), event, attr);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue