summaryrefslogtreecommitdiffstats
path: root/can-utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'can-utils.cpp')
-rw-r--r--can-utils.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/can-utils.cpp b/can-utils.cpp
index abfe0a0..6721410 100644
--- a/can-utils.cpp
+++ b/can-utils.cpp
@@ -23,9 +23,10 @@
*
*********************************************************************************/
-CanBus_c::CanBus_c(afb_binding_interface *itf)
+CanBus_c::CanBus_c(afb_binding_interface *itf, const std:string& dev_name)
{
interface = itf;
+ deviceName = dev_name;
}
int CanBus_c::open()