1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 21:35:44 +03:00

Refactored CMS VTX menu selection to not use 'checkRedirect'.

This commit is contained in:
mikeller 2019-11-25 02:50:57 +13:00
parent 818402ccc4
commit 95791fc293
3 changed files with 41 additions and 30 deletions

View file

@ -63,7 +63,7 @@ static const OSD_Entry menuFeaturesEntries[] =
#endif
#if defined(USE_VTX_CONTROL)
#if defined(USE_VTX_RTC6705) || defined(USE_VTX_SMARTAUDIO) || defined(USE_VTX_TRAMP)
{"VTX", OME_Submenu, cmsMenuChange, &cmsx_menuVtxRedirect, 0},
{"VTX", OME_Funcall, cmsSelectVtx, NULL, 0},
#endif
#endif // VTX_CONTROL
#ifdef USE_LED_STRIP