Code Review
/
apps
/
agl-service-can-low-level.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Separation of classes in the same file.
[apps/agl-service-can-low-level.git]
/
src
/
can
/
can-bus-dev.cpp
diff --git
a/src/can/can-bus-dev.cpp
b/src/can/can-bus-dev.cpp
index
5c8673c
..
a574b42
100644
(file)
--- a/
src/can/can-bus-dev.cpp
+++ b/
src/can/can-bus-dev.cpp
@@
-42,6
+42,11
@@
std::string can_bus_dev_t::get_device_name() const
return device_name_;
}
+uint32_t can_bus_dev_t::get_address() const
+{
+ return address_;
+}
+
/// @brief Open the can socket and returning it
/// @return -1 if something wrong.
int can_bus_dev_t::open()