Move the implementation back into the method

This commit is contained in:
Ben Meadors
2025-12-16 06:45:25 -06:00
parent 85b4645180
commit 50298cff58
2 changed files with 1 additions and 2 deletions

View File

@@ -222,6 +222,7 @@ void menuHandler::DeviceRolePicker()
void menuHandler::RadioPresetPicker()
{
using RadioPresetOption = MenuOption<meshtastic_Config_LoRaConfig_ModemPreset>;
static const RadioPresetOption presetOptions[] = {
{"Back", OptionsAction::Back, meshtastic_Config_LoRaConfig_ModemPreset_LONG_FAST},

View File

@@ -108,7 +108,5 @@ template <typename T> struct MenuOption {
T value;
};
using RadioPresetOption = MenuOption<meshtastic_Config_LoRaConfig_ModemPreset>;
} // namespace graphics
#endif