mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 16:25:16 +03:00
VC++ Warning removed
This commit is contained in:
parent
fd855d8a8c
commit
4a9e8d6a4b
1 changed files with 2 additions and 2 deletions
|
@ -5672,7 +5672,7 @@ void menuModelTelemetry(uint8_t event)
|
||||||
putsStrIdx(0*FW, y, STR_SCREEN, screenIndex+1);
|
putsStrIdx(0*FW, y, STR_SCREEN, screenIndex+1);
|
||||||
#if defined(GAUGES)
|
#if defined(GAUGES)
|
||||||
bool screenType = IS_BARS_SCREEN(screenIndex);
|
bool screenType = IS_BARS_SCREEN(screenIndex);
|
||||||
if (screenType != selectMenuItem(TELEM_SCRTYPE_COL, y, PSTR(""), STR_VSCREEN, screenType, 0, 1, attr, event))
|
if (screenType != (bool)selectMenuItem(TELEM_SCRTYPE_COL, y, PSTR(""), STR_VSCREEN, screenType, 0, 1, attr, event))
|
||||||
g_model.frsky.screensType ^= (1 << screenIndex);
|
g_model.frsky.screensType ^= (1 << screenIndex);
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
@ -5683,7 +5683,7 @@ void menuModelTelemetry(uint8_t event)
|
||||||
putsStrIdx(0*FW, y, STR_SCREEN, screenIndex);
|
putsStrIdx(0*FW, y, STR_SCREEN, screenIndex);
|
||||||
#if defined(GAUGES)
|
#if defined(GAUGES)
|
||||||
bool screenType = g_model.frsky.screensType & screenIndex;
|
bool screenType = g_model.frsky.screensType & screenIndex;
|
||||||
if (screenType != selectMenuItem(TELEM_SCRTYPE_COL, y, PSTR(""), STR_VSCREEN, screenType, 0, 1, attr, event))
|
if (screenType != (bool)selectMenuItem(TELEM_SCRTYPE_COL, y, PSTR(""), STR_VSCREEN, screenType, 0, 1, attr, event))
|
||||||
g_model.frsky.screensType ^= screenIndex;
|
g_model.frsky.screensType ^= screenIndex;
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue