mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-02 11:55:56 +00:00
Add Kazakhstan to the BaseUI LoRa chooser (#7224)
This commit is contained in:
parent
dfb07e8bd2
commit
0f96bd7a26
@ -48,12 +48,14 @@ void menuHandler::LoraRegionPicker(uint32_t duration)
|
|||||||
"PH_433",
|
"PH_433",
|
||||||
"PH_868",
|
"PH_868",
|
||||||
"PH_915",
|
"PH_915",
|
||||||
"ANZ_433"};
|
"ANZ_433",
|
||||||
|
"KZ_433",
|
||||||
|
"KZ_863"};
|
||||||
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 = 23;
|
bannerOptions.optionsCount = 25;
|
||||||
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)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user