diff options
author | Harsh Sharma <harsh.sharma@multitech.com> | 2024-04-10 16:29:24 -0500 |
---|---|---|
committer | Harsh Sharma <harsh.sharma@multitech.com> | 2024-04-10 16:29:24 -0500 |
commit | 1eea7eae25074cc18e37c80cd5ede91e13213920 (patch) | |
tree | 6febe3374832e8ce740f1e42a710d4d172c7d034 /src/AccessoryCards/LoraCard15.cpp | |
parent | 3cd85e811ffcdd481cae20c76c045134b0ba3f3d (diff) | |
download | mts-io-sysfs-1eea7eae25074cc18e37c80cd5ede91e13213920.tar.gz mts-io-sysfs-1eea7eae25074cc18e37c80cd5ede91e13213920.tar.bz2 mts-io-sysfs-1eea7eae25074cc18e37c80cd5ede91e13213920.zip |
Enabled loraLbt flag for mtac 003 and mtac 1.5 cards with v33 or v35 fpga0.2.12
Diffstat (limited to 'src/AccessoryCards/LoraCard15.cpp')
-rw-r--r-- | src/AccessoryCards/LoraCard15.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/AccessoryCards/LoraCard15.cpp b/src/AccessoryCards/LoraCard15.cpp index f71bff3..fb67943 100644 --- a/src/AccessoryCards/LoraCard15.cpp +++ b/src/AccessoryCards/LoraCard15.cpp @@ -42,4 +42,7 @@ void Device::Lora15Card::AddToDeviceInfo(const std::string Port, rapidjson::Value().SetString(spiPath.c_str(), device.acAlloc), device.acAlloc); device.accessoryCard.AddMember("fpgaVersion", fpgaVersion, device.acAlloc); + if (fpgaVersion == 33 || fpgaVersion == 35) { + device.capabilityList["loraLbt"] = true; + } }
\ No newline at end of file |