mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 06:45:16 +03:00
Add support for IRC Tramp race lock flag, and extended VTX status.
Display '-' for settings when VTX is locked.
This commit is contained in:
parent
8140504f84
commit
aeca5665e6
11 changed files with 154 additions and 79 deletions
|
@ -136,16 +136,16 @@ bool vtxCommonGetPowerIndex(const vtxDevice_t *vtxDevice, uint8_t *pIndex)
|
|||
return vtxDevice->vTable->getPowerIndex(vtxDevice, pIndex);
|
||||
}
|
||||
|
||||
bool vtxCommonGetPitMode(const vtxDevice_t *vtxDevice, uint8_t *pOnOff)
|
||||
{
|
||||
return vtxDevice->vTable->getPitMode(vtxDevice, pOnOff);
|
||||
}
|
||||
|
||||
bool vtxCommonGetFrequency(const vtxDevice_t *vtxDevice, uint16_t *pFrequency)
|
||||
{
|
||||
return vtxDevice->vTable->getFrequency(vtxDevice, pFrequency);
|
||||
}
|
||||
|
||||
bool vtxCommonGetStatus(const vtxDevice_t *vtxDevice, unsigned *status)
|
||||
{
|
||||
return vtxDevice->vTable->getStatus(vtxDevice, status);
|
||||
}
|
||||
|
||||
const char *vtxCommonLookupBandName(const vtxDevice_t *vtxDevice, int band)
|
||||
{
|
||||
if (vtxDevice) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue