Fix logic for tramp CMS "PLEASE CONFIGURE VTXTABLE" message

This commit is contained in:
Bruce Luckcuck 2019-02-24 09:43:04 -05:00
parent bdacbf80b9
commit 1fedac2b35
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ void trampCmsUpdateStatusString(void)
{
vtxDevice_t *vtxDevice = vtxCommonDevice();
if (vtxDevice->capability.bandCount == 0 || vtxDevice->capability.powerCount) {
if (vtxDevice->capability.bandCount == 0 || vtxDevice->capability.powerCount == 0) {
strncpy(trampCmsStatusString, "PLEASE CONFIGURE VTXTABLE", sizeof(trampCmsStatusString));
return;
}