summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Sharma <harsh.sharma@multitech.com>2022-10-18 11:38:57 -0500
committerHarsh Sharma <harsh.sharma@multitech.com>2022-10-18 11:38:57 -0500
commit70bd943d27ec101f3a85e1b1c03eb77e66cf0b5e (patch)
tree40ce54c90f866749b0296aedcd9592fe12833c35
parent026fd862c27566a3b08319e56a736d2829c024d4 (diff)
downloadmts-io-sysfs-70bd943d27ec101f3a85e1b1c03eb77e66cf0b5e.tar.gz
mts-io-sysfs-70bd943d27ec101f3a85e1b1c03eb77e66cf0b5e.tar.bz2
mts-io-sysfs-70bd943d27ec101f3a85e1b1c03eb77e66cf0b5e.zip
Added additional matching for 2.4G card
-rw-r--r--src/AccessoryCards/LoraCard2G4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AccessoryCards/LoraCard2G4.cpp b/src/AccessoryCards/LoraCard2G4.cpp
index 2ca8c28..2c9c967 100644
--- a/src/AccessoryCards/LoraCard2G4.cpp
+++ b/src/AccessoryCards/LoraCard2G4.cpp
@@ -18,7 +18,7 @@
#include "Device.h"
Device::Lora2G4Card::Lora2G4Card(Device &d)
- : LoraCard(d, std::regex("(MTAC-LORA-2G4)")) {}
+ : LoraCard(d, std::regex("(MTAC-LORA-2G4)(.*)")){}
void Device::Lora2G4Card::AddToDeviceInfo(const std::string Port,
const std::string ProductID) {