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/LoraCard15.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/AccessoryCards/LoraCard15.cpp') diff --git a/src/AccessoryCards/LoraCard15.cpp b/src/AccessoryCards/LoraCard15.cpp index 28f1e5d..69efb6b 100644 --- a/src/AccessoryCards/LoraCard15.cpp +++ b/src/AccessoryCards/LoraCard15.cpp @@ -17,7 +17,7 @@ #include "Device.h" -Device::Lora15Card::Lora15Card(Device& d, const std::string productId, const std::string port) : LoraCard(d, productId, port) { +Device::Lora15Card::Lora15Card(Device& d, const std::string ProductId, const std::string Port) : LoraCard(d, ProductId, Port) { int ret; if ((productId.rfind("MTCDT3-", 0) == 0 || productId.rfind("MTLGA-", 0) == 0) && (port.back() == '2')) { spiPath = "/dev/spidev1.0"; -- cgit v1.2.3