HORUS fixes

This commit is contained in:
Bertrand Songis
2019-05-15 11:23:16 +02:00
parent b9ecf18d48
commit f5c5413e88
4 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ void menuRadioSpectrumAnalyser(event_t event);
void menuRadioPowerMeter(event_t event);
void menuRadioCalibration(event_t event);
static const MenuHandlerFunc menuTabGeneral[] = {
static const MenuHandlerFunc menuTabGeneral[MENU_RADIO_PAGES_COUNT] = {
menuRadioSetup,
CASE_SDCARD(menuRadioSdManager)
#if defined(PXX2)
+1 -1
View File
@@ -20,7 +20,7 @@
#include "opentx.h"
const MenuHandlerFunc menuTabGeneral[] = {
const MenuHandlerFunc menuTabGeneral[MENU_RADIO_PAGES_COUNT] = {
menuRadioSetup,
menuRadioSdManager,
#if defined(PXX2)
+1 -1
View File
@@ -20,7 +20,7 @@
#include "opentx.h"
const MenuHandlerFunc menuTabGeneral[] = {
const MenuHandlerFunc menuTabGeneral[MENU_RADIO_PAGES_COUNT] = {
menuRadioSetup,
menuRadioSdManager,
#if defined(PXX2)
+14 -14
View File
@@ -126,20 +126,7 @@ enum EnumTabModel {
MENU_MODEL_PAGES_COUNT
};
const uint8_t RADIO_ICONS[] = {
ICON_RADIO,
ICON_RADIO_SETUP,
ICON_RADIO_SD_BROWSER,
#if defined(PXX2)
ICON_RADIO_SETUP,
#endif
ICON_RADIO_GLOBAL_FUNCTIONS,
ICON_RADIO_TRAINER,
ICON_RADIO_HARDWARE,
ICON_RADIO_VERSION
};
const uint8_t MODEL_ICONS[] = {
const uint8_t MODEL_ICONS[MENU_MODEL_PAGES_COUNT + 1] = {
ICON_MODEL,
ICON_MODEL_SETUP,
CASE_HELI(ICON_MODEL_HELI)
@@ -210,6 +197,19 @@ enum EnumTabRadio {
MENU_RADIO_PAGES_COUNT
};
const uint8_t RADIO_ICONS[MENU_RADIO_PAGES_COUNT + 1] = {
ICON_RADIO,
ICON_RADIO_SETUP,
ICON_RADIO_SD_BROWSER,
#if defined(PXX2)
ICON_RADIO_SETUP,
#endif
ICON_RADIO_GLOBAL_FUNCTIONS,
ICON_RADIO_TRAINER,
ICON_RADIO_HARDWARE,
ICON_RADIO_VERSION
};
bool menuRadioSetup(event_t event);
bool menuRadioSdManager(event_t event);
bool menuRadioTools(event_t event);