1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 14:55:21 +03:00

CF/BF - fix CMS compilation when blackbox is disabled.

This commit is contained in:
Hydra 2017-02-26 18:05:24 +00:00 committed by Dominic Clifton
parent 722523df31
commit 73e46e9050
2 changed files with 4 additions and 1 deletions

View file

@ -27,7 +27,7 @@
#include "platform.h"
#ifdef CMS
#if defined(CMS) && defined(BLACKBOX)
#include "build/version.h"

View file

@ -93,7 +93,10 @@ static CMS_Menu menuInfo = {
static OSD_Entry menuFeaturesEntries[] =
{
{"--- FEATURES ---", OME_Label, NULL, NULL, 0},
#if defined(BLACKBOX)
{"BLACKBOX", OME_Submenu, cmsMenuChange, &cmsx_menuBlackbox, 0},
#endif
#if defined(VTX) || defined(USE_RTC6705)
{"VTX", OME_Submenu, cmsMenuChange, &cmsx_menuVtx, 0},
#endif // VTX || USE_RTC6705