diff options
author | Harsh Sharma <harsh.sharma@multitech.com> | 2020-01-15 17:05:44 -0600 |
---|---|---|
committer | Harsh Sharma <harsh.sharma@multitech.com> | 2020-01-15 17:05:44 -0600 |
commit | 6516d0bbfc4217e3f1204ce07334e709e91b7bb6 (patch) | |
tree | 30320485d1f45238f5229addbd901f33b3f53cf6 /src/AccessoryCards/LoraCard21.cpp | |
parent | acb6f2db223487f2a80d7733ce91c735ff50302e (diff) | |
download | mts-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/LoraCard21.cpp')
-rw-r--r-- | src/AccessoryCards/LoraCard21.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AccessoryCards/LoraCard21.cpp b/src/AccessoryCards/LoraCard21.cpp index 99f76d6..d40876b 100644 --- a/src/AccessoryCards/LoraCard21.cpp +++ b/src/AccessoryCards/LoraCard21.cpp @@ -17,7 +17,7 @@ #include "Device.h" -Device::Lora21Card::Lora21Card(Device& d, const std::string productId, const std::string port): LoraCard(d, productId, port) { +Device::Lora21Card::Lora21Card(Device& d, const std::string ProductId, const std::string Port): LoraCard(d, ProductId, Port) { spiPath = "/dev/spidev32766.2"; MTS::System::cmd(LORA_2_1_FPGA_VERSION, cmdFpgaVersion); fpgaVersion = std::stoi(cmdFpgaVersion); |