summaryrefslogtreecommitdiffstats
path: root/CAN-binder/low-can-binding/can/can-bus-dev.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'CAN-binder/low-can-binding/can/can-bus-dev.hpp')
-rw-r--r--CAN-binder/low-can-binding/can/can-bus-dev.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/CAN-binder/low-can-binding/can/can-bus-dev.hpp b/CAN-binder/low-can-binding/can/can-bus-dev.hpp
index 38727e0..8b4cf47 100644
--- a/CAN-binder/low-can-binding/can/can-bus-dev.hpp
+++ b/CAN-binder/low-can-binding/can/can-bus-dev.hpp
@@ -43,10 +43,11 @@ private:
void can_reader(can_bus_t& can_bus);
public:
- can_bus_dev_t(const std::string& dev_name, int32_t address);
+ can_bus_dev_t(const std::string& dev_name, int index);
std::string get_device_name() const;
int get_index() const;
+ utils::socketcan_t& get_socket();
int open();
void configure();