summaryrefslogtreecommitdiff
path: root/src/AccessoryCards/LoraCard21Ext.cpp
diff options
context:
space:
mode:
authorHarsh Sharma <harsh.sharma@multitech.com>2020-01-15 17:05:44 -0600
committerHarsh Sharma <harsh.sharma@multitech.com>2020-01-15 17:05:44 -0600
commit6516d0bbfc4217e3f1204ce07334e709e91b7bb6 (patch)
tree30320485d1f45238f5229addbd901f33b3f53cf6 /src/AccessoryCards/LoraCard21Ext.cpp
parentacb6f2db223487f2a80d7733ce91c735ff50302e (diff)
downloadmts-io-sysfs-6516d0bbfc4217e3f1204ce07334e709e91b7bb6.tar.gz
mts-io-sysfs-6516d0bbfc4217e3f1204ce07334e709e91b7bb6.tar.bz2
mts-io-sysfs-6516d0bbfc4217e3f1204ce07334e709e91b7bb6.zip
Added port to accessory card list. Added sorting for accessory card array if the array is longer than 1
Diffstat (limited to 'src/AccessoryCards/LoraCard21Ext.cpp')
-rw-r--r--src/AccessoryCards/LoraCard21Ext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AccessoryCards/LoraCard21Ext.cpp b/src/AccessoryCards/LoraCard21Ext.cpp
index 51b43f7..2595286 100644
--- a/src/AccessoryCards/LoraCard21Ext.cpp
+++ b/src/AccessoryCards/LoraCard21Ext.cpp
@@ -17,7 +17,7 @@
#include "Device.h"
-Device::Lora21ExtCard::Lora21ExtCard(Device& d, const std::string productId, const std::string port): Lora21Card(d, productId, port) {
+Device::Lora21ExtCard::Lora21ExtCard(Device& d, const std::string ProductId, const std::string Port): Lora21Card(d, ProductId, Port) {
MTS::System::cmd(LORA_2_1_EXT_FPGA_VERSION, cmdFpgaVersion2);
device.accessoryCard.AddMember("fpgaVersion2", std::stoi(cmdFpgaVersion2), device.accessoryCardsAlloc);
} \ No newline at end of file