mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-20 17:52:35 +00:00
Add NP_865 and BR_902 to device menu (#7434)
This commit is contained in:
@@ -51,12 +51,14 @@ void menuHandler::LoraRegionPicker(uint32_t duration)
|
|||||||
"PH_915",
|
"PH_915",
|
||||||
"ANZ_433",
|
"ANZ_433",
|
||||||
"KZ_433",
|
"KZ_433",
|
||||||
"KZ_863"};
|
"KZ_863",
|
||||||
|
"NP_865",
|
||||||
|
"BR_902"};
|
||||||
BannerOverlayOptions bannerOptions;
|
BannerOverlayOptions bannerOptions;
|
||||||
bannerOptions.message = "Set the LoRa region";
|
bannerOptions.message = "Set the LoRa region";
|
||||||
bannerOptions.durationMs = duration;
|
bannerOptions.durationMs = duration;
|
||||||
bannerOptions.optionsArrayPtr = optionsArray;
|
bannerOptions.optionsArrayPtr = optionsArray;
|
||||||
bannerOptions.optionsCount = 25;
|
bannerOptions.optionsCount = 27;
|
||||||
bannerOptions.InitialSelected = 0;
|
bannerOptions.InitialSelected = 0;
|
||||||
bannerOptions.bannerCallback = [](int selected) -> void {
|
bannerOptions.bannerCallback = [](int selected) -> void {
|
||||||
if (selected != 0 && config.lora.region != _meshtastic_Config_LoRaConfig_RegionCode(selected)) {
|
if (selected != 0 && config.lora.region != _meshtastic_Config_LoRaConfig_RegionCode(selected)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user