1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-18 22:05:17 +03:00

Changed condition to USE_COPY_PROFILE_CMS_MENU

This commit is contained in:
Bas Delfos 2017-08-30 21:28:49 +02:00
parent 04d08cb033
commit ec4ce2bbd6
2 changed files with 3 additions and 2 deletions

View file

@ -391,7 +391,7 @@ static CMS_Menu cmsx_menuFilterPerProfile = {
.entries = cmsx_menuFilterPerProfileEntries, .entries = cmsx_menuFilterPerProfileEntries,
}; };
#ifndef DISABLE_EXTENDED_CMS_MENUS #ifdef USE_COPY_PROFILE_CMS_MENU
static uint8_t cmsx_dstPidProfile; static uint8_t cmsx_dstPidProfile;
static uint8_t cmsx_dstControlRateProfile; static uint8_t cmsx_dstControlRateProfile;
@ -475,7 +475,7 @@ static OSD_Entry cmsx_menuImuEntries[] =
{"RATE", OME_Submenu, cmsMenuChange, &cmsx_menuRateProfile, 0}, {"RATE", OME_Submenu, cmsMenuChange, &cmsx_menuRateProfile, 0},
{"FILT GLB", OME_Submenu, cmsMenuChange, &cmsx_menuFilterGlobal, 0}, {"FILT GLB", OME_Submenu, cmsMenuChange, &cmsx_menuFilterGlobal, 0},
#ifndef DISABLE_EXTENDED_CMS_MENUS #ifdef USE_COPY_PROFILE_CMS_MENU
{"COPY PROF", OME_Submenu, cmsMenuChange, &cmsx_menuCopyProfile, 0}, {"COPY PROF", OME_Submenu, cmsMenuChange, &cmsx_menuCopyProfile, 0},
#endif #endif

View file

@ -126,6 +126,7 @@
#define VTX_TRAMP #define VTX_TRAMP
#define USE_CAMERA_CONTROL #define USE_CAMERA_CONTROL
#define USE_HUFFMAN #define USE_HUFFMAN
#define USE_COPY_PROFILE_CMS_MENU
#ifdef USE_SERIALRX_SPEKTRUM #ifdef USE_SERIALRX_SPEKTRUM
#define USE_SPEKTRUM_BIND #define USE_SPEKTRUM_BIND