mirror of
https://github.com/opentx/opentx.git
synced 2025-07-19 06:15:10 +03:00
VC++ Warning removed
This commit is contained in:
parent
342d2cdb83
commit
fd855d8a8c
2 changed files with 2 additions and 2 deletions
|
@ -5181,7 +5181,7 @@ void menuModelCustomScriptOne(uint8_t event)
|
|||
|
||||
if (i == ITEM_MODEL_CUSTOMSCRIPT_FILE) {
|
||||
lcd_putsLeft(y, "Script");
|
||||
if (ZEXIST(sd.file) > 0)
|
||||
if (ZEXIST(sd.file))
|
||||
lcd_putsnAtt(SCRIPT_ONE_2ND_COLUMN_POS, y, sd.file, sizeof(sd.file), attr);
|
||||
else
|
||||
lcd_putsiAtt(SCRIPT_ONE_2ND_COLUMN_POS, y, STR_VCSWFUNC, 0, attr);
|
||||
|
|
|
@ -3253,7 +3253,7 @@ void evalFunctions()
|
|||
bool active = getSwitch(swtch);
|
||||
|
||||
if (HAS_ENABLE_PARAM(CFN_FUNC(sd))) {
|
||||
active &= CFN_ACTIVE(sd);
|
||||
active &= (bool)CFN_ACTIVE(sd);
|
||||
}
|
||||
|
||||
if (active || IS_PLAY_BOTH_FUNC(CFN_FUNC(sd))) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue