mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 23:05:19 +03:00
CF/BF - fix CMS compilation when blackbox is disabled.
This commit is contained in:
parent
722523df31
commit
73e46e9050
2 changed files with 4 additions and 1 deletions
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
#include "platform.h"
|
#include "platform.h"
|
||||||
|
|
||||||
#ifdef CMS
|
#if defined(CMS) && defined(BLACKBOX)
|
||||||
|
|
||||||
#include "build/version.h"
|
#include "build/version.h"
|
||||||
|
|
||||||
|
|
|
@ -93,7 +93,10 @@ static CMS_Menu menuInfo = {
|
||||||
static OSD_Entry menuFeaturesEntries[] =
|
static OSD_Entry menuFeaturesEntries[] =
|
||||||
{
|
{
|
||||||
{"--- FEATURES ---", OME_Label, NULL, NULL, 0},
|
{"--- FEATURES ---", OME_Label, NULL, NULL, 0},
|
||||||
|
|
||||||
|
#if defined(BLACKBOX)
|
||||||
{"BLACKBOX", OME_Submenu, cmsMenuChange, &cmsx_menuBlackbox, 0},
|
{"BLACKBOX", OME_Submenu, cmsMenuChange, &cmsx_menuBlackbox, 0},
|
||||||
|
#endif
|
||||||
#if defined(VTX) || defined(USE_RTC6705)
|
#if defined(VTX) || defined(USE_RTC6705)
|
||||||
{"VTX", OME_Submenu, cmsMenuChange, &cmsx_menuVtx, 0},
|
{"VTX", OME_Submenu, cmsMenuChange, &cmsx_menuVtx, 0},
|
||||||
#endif // VTX || USE_RTC6705
|
#endif // VTX || USE_RTC6705
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue