CTestMenu: add configure option --enable-testmenu

This commit is contained in:
2013-11-04 22:00:06 +01:00
committed by svenhoefer
parent ae78af966c
commit 6f700d80c0
4 changed files with 15 additions and 4 deletions

View File

@@ -71,7 +71,9 @@
#include "gui/sleeptimer.h"
#include "gui/update_menue.h"
#include "gui/streaminfo2.h"
#ifdef ENABLE_TEST_MENU
#include "gui/test_menu.h"
#endif
#include "gui/update.h"
#include "gui/vfd_setup.h"
#include "driver/record.h"
@@ -280,7 +282,7 @@ void CNeutrinoApp::InitMenuMain()
}
}
#ifdef TEST_MENU
#ifdef ENABLE_TEST_MENU
personalize.addItem(MENU_MAIN, new CMenuForwarderNonLocalized("Test menu", true, NULL, new CTestMenu()), NULL, false, CPersonalizeGui::PERSONALIZE_SHOW_NO);
#endif
}