From 70bd943d27ec101f3a85e1b1c03eb77e66cf0b5e Mon Sep 17 00:00:00 2001 From: Harsh Sharma Date: Tue, 18 Oct 2022 11:38:57 -0500 Subject: Added additional matching for 2.4G card --- src/AccessoryCards/LoraCard2G4.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3