From 6516d0bbfc4217e3f1204ce07334e709e91b7bb6 Mon Sep 17 00:00:00 2001 From: Harsh Sharma Date: Wed, 15 Jan 2020 17:05:44 -0600 Subject: Added port to accessory card list. Added sorting for accessory card array if the array is longer than 1 --- src/AccessoryCards/LoraCard21Ext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/AccessoryCards/LoraCard21Ext.cpp') 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 -- cgit v1.2.3