Fix cppcheck warnings in tentec2.c

pull/155/head
Michael Black 2019-12-08 23:05:59 -06:00
rodzic 1b981c9a64
commit 5e2f45f987
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 6599353EC683404D
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -656,7 +656,7 @@ int tentec2_get_ptt(RIG *rig, vfo_t vfo, ptt_t *ptt)
return -RIG_EPROTO;
}
*ptt = buf[2] & 0x01 ? RIG_PTT_ON : RIG_PTT_OFF;
*ptt = (buf[2] & 0x01) ? RIG_PTT_ON : RIG_PTT_OFF;
return RIG_OK;
}