mirror of
https://github.com/opentx/opentx.git
synced 2025-07-17 13:25:20 +03:00
Radio tools bugfix
This commit is contained in:
parent
680bebaa48
commit
b399fd25ff
1 changed files with 2 additions and 2 deletions
|
@ -54,10 +54,10 @@ void menuRadioTools(event_t event)
|
|||
}
|
||||
|
||||
for (uint8_t module = 0; module < NUM_MODULES; module++) {
|
||||
if (isModuleOptionAvailable(module, MODULE_OPTION_SPECTRUM_ANALYSER)) {
|
||||
if (isModuleOptionAvailable(reusableBuffer.hardwareAndSettings.modules[module].information.modelID, MODULE_OPTION_SPECTRUM_ANALYSER)) {
|
||||
spectrum_modules++;
|
||||
}
|
||||
if (isModuleOptionAvailable(module, MODULE_OPTION_POWER_METER)) {
|
||||
if (isModuleOptionAvailable(reusableBuffer.hardwareAndSettings.modules[module].information.modelID, MODULE_OPTION_POWER_METER)) {
|
||||
power_modules++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue