diff options
author | Harsh Sharma <harsh.sharma@multitech.com> | 2020-01-09 12:52:56 -0600 |
---|---|---|
committer | Harsh Sharma <harsh.sharma@multitech.com> | 2020-01-09 12:52:56 -0600 |
commit | b69c7514fbad36e25dbf3ea263eb49f1f28d3653 (patch) | |
tree | 54685e228320bcb5db9727f66ae4d36c2e118c2e /src/Device/Device.cpp | |
parent | 8c7856e74ba7bc149180aa3ab9f820043260cdc8 (diff) | |
download | mts-io-sysfs-b69c7514fbad36e25dbf3ea263eb49f1f28d3653.tar.gz mts-io-sysfs-b69c7514fbad36e25dbf3ea263eb49f1f28d3653.tar.bz2 mts-io-sysfs-b69c7514fbad36e25dbf3ea263eb49f1f28d3653.zip |
Bug fix: mtcdt 2.1 FPGA matching was not working as required
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)) { |