diff --git a/src/main/cms/cms_menu_vtx_tramp.c b/src/main/cms/cms_menu_vtx_tramp.c index f49e7ba42..95cb5472b 100644 --- a/src/main/cms/cms_menu_vtx_tramp.c +++ b/src/main/cms/cms_menu_vtx_tramp.c @@ -21,6 +21,7 @@ #include #include #include +#include #include "platform.h" @@ -47,6 +48,12 @@ char trampCmsStatusString[31] = "- -- ---- ----"; void trampCmsUpdateStatusString(void) { vtxDevice_t *vtxDevice = vtxCommonDevice(); + + if (vtxDevice->capability.bandCount == 0 || vtxDevice->capability.powerCount) { + strncpy(trampCmsStatusString, "PLEASE CONFIGURE VTXTABLE", sizeof(trampCmsStatusString)); + return; + } + trampCmsStatusString[0] = '*'; trampCmsStatusString[1] = ' '; trampCmsStatusString[2] = vtxCommonLookupBandLetter(vtxDevice, trampBand);