fix: Make showing int MPM spectrum analyser entry runtime determined (#1648)

Showing of the "(int) Spectrum Analyser" determined at build time,
dependent on the default internal module, which is wrong post #1117
Fixes #1647
This commit is contained in:
Peter Feerick
2022-03-06 11:40:12 +10:00
committed by GitHub
parent d1a5c7a819
commit c73057ad54
2 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -271,7 +271,8 @@ void RadioToolsPage::rebuild(FormWindow * window)
grid.nextLine();
}
#endif
#if defined(INTERNAL_MODULE_MULTI)
#if defined(HARDWARE_INTERNAL_MODULE)
if (g_eeGeneral.internalModule == MODULE_TYPE_MULTIMODULE)
{
auto txt =
new StaticText(window, grid.getLabelSlot(), "multi", BUTTON_BACKGROUND,