From cd4a67a137622d83350924901ccb89bcaca423ce Mon Sep 17 00:00:00 2001 From: Mark Trevor Birss Date: Wed, 4 Dec 2024 09:18:02 +0200 Subject: [PATCH] Update PortduinoGlue.cpp --- src/platform/portduino/PortduinoGlue.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/platform/portduino/PortduinoGlue.cpp b/src/platform/portduino/PortduinoGlue.cpp index 9c439d58ec..a4485e91ff 100644 --- a/src/platform/portduino/PortduinoGlue.cpp +++ b/src/platform/portduino/PortduinoGlue.cpp @@ -271,10 +271,10 @@ bool loadConfig(const char *configPath) if (yamlConfig["Lora"]) { settingsMap[use_sx1262] = false; settingsMap[use_rf95] = false; - settingsMap[use_sx1280] = false; + settingsMap[use_sx1280] = false; settingsMap[use_lr1110] = false; - settingsMap[use_lr1120] = false; - settingsMap[use_lr1121] = false; + settingsMap[use_lr1120] = false; + settingsMap[use_lr1121] = false; settingsMap[use_sx1268] = false; if (yamlConfig["Lora"]["Module"] && yamlConfig["Lora"]["Module"].as("") == "sx1262") { @@ -288,7 +288,7 @@ bool loadConfig(const char *configPath) } else if (yamlConfig["Lora"]["Module"] && yamlConfig["Lora"]["Module"].as("") == "lr1120") { settingsMap[use_lr1120] = true; } else if (yamlConfig["Lora"]["Module"] && yamlConfig["Lora"]["Module"].as("") == "lr1121") { - settingsMap[use_lr1121] = true; + settingsMap[use_lr1121] = true; } else if (yamlConfig["Lora"]["Module"] && yamlConfig["Lora"]["Module"].as("") == "sx1268") { settingsMap[use_sx1268] = true; }