mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 21:05:35 +03:00
VTX improvements from iNav.
This commit is contained in:
parent
43e6ea31da
commit
b4db764b46
8 changed files with 54 additions and 11 deletions
|
@ -57,6 +57,15 @@ vtxDevType_e vtxCommonGetDeviceType(const vtxDevice_t *vtxDevice)
|
|||
return vtxDevice->vTable->getDeviceType(vtxDevice);
|
||||
}
|
||||
|
||||
bool vtxCommonDeviceIsReady(const vtxDevice_t *vtxDevice)
|
||||
{
|
||||
if (vtxDevice && vtxDevice->vTable->isReady) {
|
||||
return vtxDevice->vTable->isReady(vtxDevice);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
void vtxCommonProcess(vtxDevice_t *vtxDevice, timeUs_t currentTimeUs)
|
||||
{
|
||||
if (vtxDevice) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue