summaryrefslogtreecommitdiff
path: root/src/AccessoryCards/Gpiob.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/Gpiob.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/Gpiob.cpp')
-rw-r--r--src/AccessoryCards/Gpiob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AccessoryCards/Gpiob.cpp b/src/AccessoryCards/Gpiob.cpp
index 3a87c8a..44728ae 100644
--- a/src/AccessoryCards/Gpiob.cpp
+++ b/src/AccessoryCards/Gpiob.cpp
@@ -17,7 +17,7 @@
#include "Device.h"
-Device::Gpiob::Gpiob(Device& d) : AccessoryCard(d) {
+Device::Gpiob::Gpiob(Device& d, const std::string ProductId, const std::string Port) : AccessoryCard(d, ProductId, Port) {
capabilityList["adc"] = true;
capabilityList["din"] = true;
capabilityList["dout"] = true;