diff options
Diffstat (limited to 'src/Device/Device.cpp')
-rw-r--r-- | src/Device/Device.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Device/Device.cpp b/src/Device/Device.cpp index 21ad9e8..e92ea6e 100644 --- a/src/Device/Device.cpp +++ b/src/Device/Device.cpp @@ -65,12 +65,12 @@ void Device::getSystemTreeJson(const char * dir_name) { accessoryCard.SetObject(); } if (strcmp(d_name, "product-id") == 0) { - if (regex_match(fileData, lora15Filters)) { - Lora15Card lora15(*this, fileData, dir_name); - } else if (regex_match(fileData, loraG16Filters)) { + if (regex_match(fileData, loraG16Filters)) { Lora21Card lora21(*this, fileData, dir_name); } else if (regex_match(fileData, loraG64Filters)) { Lora21ExtCard lora21Ext(*this, fileData, dir_name); + } else if (regex_match(fileData, lora15Filters)) { + Lora15Card lora15(*this, fileData, dir_name); } else if (regex_match(fileData, gpiobFilters)) { Gpiob ppiob(*this); } else if (regex_match(fileData, mfserFilters)) { |