mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
Display available dBm power levels from SA2.1 VTX along with corresponding power expressed in mW
This commit is contained in:
parent
887a913c6e
commit
938a39ac8f
8 changed files with 91 additions and 7 deletions
|
@ -141,6 +141,11 @@ bool vtxCommonGetStatus(const vtxDevice_t *vtxDevice, unsigned *status)
|
|||
return vtxDevice->vTable->getStatus(vtxDevice, status);
|
||||
}
|
||||
|
||||
uint8_t vtxCommonGetVTXPowerLevels(const vtxDevice_t *vtxDevice, uint16_t *levels, uint16_t *powers)
|
||||
{
|
||||
return vtxDevice->vTable->getPowerLevels(vtxDevice, levels, powers);
|
||||
}
|
||||
|
||||
const char *vtxCommonLookupBandName(const vtxDevice_t *vtxDevice, int band)
|
||||
{
|
||||
if (vtxDevice && band > 0 && band <= vtxTableBandCount) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue