From 1fedac2b35ae340472cd268fe0d37e91cefd5704 Mon Sep 17 00:00:00 2001 From: Bruce Luckcuck Date: Sun, 24 Feb 2019 09:43:04 -0500 Subject: [PATCH] Fix logic for tramp CMS "PLEASE CONFIGURE VTXTABLE" message --- src/main/cms/cms_menu_vtx_tramp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/cms/cms_menu_vtx_tramp.c b/src/main/cms/cms_menu_vtx_tramp.c index 95cb5472b..da703537c 100644 --- a/src/main/cms/cms_menu_vtx_tramp.c +++ b/src/main/cms/cms_menu_vtx_tramp.c @@ -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; }