1
0
Fork 0
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:
mikeller 2018-06-24 11:32:35 +12:00
parent 43e6ea31da
commit b4db764b46
8 changed files with 54 additions and 11 deletions

View file

@ -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) {