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

Compilation fix

This commit is contained in:
Bertrand Songis 2019-04-29 07:33:03 +02:00
parent 9f1238ca38
commit 51fa2458c7
7 changed files with 14 additions and 2 deletions

View file

@ -62,9 +62,9 @@ void menuRadioTools(event_t event)
SIMPLE_MENU(STR_MENUTOOLS, menuTabGeneral, MENU_RADIO_TOOLS, HEADER_LINE + spectrum_modules + power_modules);
#if defined(PXX2)
uint8_t index = 0;
#if defined(PXX2)
if (isModuleOptionAvailable(reusableBuffer.hardwareAndSettings.modules[INTERNAL_MODULE].information.modelID, MODULE_OPTION_SPECTRUM_ANALYSER))
addRadioTool(index++, "Spectrum (INT)", menuRadioSpectrumAnalyser, INTERNAL_MODULE);