[Taranis] Issue #554 - Constant used instead of hardcoded value

This commit is contained in:
Bertrand Songis
2014-01-27 17:30:50 +01:00
parent 80a6c4727d
commit b44fa1432e
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -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;