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
Fix: decoder_t class decodeSignal method signature
[apps/agl-service-can-low-level.git]
/
src
/
can_reader.cpp
diff --git
a/src/can_reader.cpp
b/src/can_reader.cpp
index
c8891ee
..
4be1546
100644
(file)
--- a/
src/can_reader.cpp
+++ b/
src/can_reader.cpp
@@
-16,15
+16,15
@@
* limitations under the License.
*/
* limitations under the License.
*/
-#include "
low-can-binding
.hpp"
+#include "
can_reader
.hpp"
-void can_reader(can_bus_
t &
can_bus)
+void can_reader(can_bus_
dev_t &can_bus_dev, can_bus_t&
can_bus)
{
{
- can_message_t can_message;
+ can_message_t can_message
(interface)
;
- while(can_bus.is_running())
+ while(can_bus
_dev
.is_running())
{
{
- can_message.convert_from_canfd_frame(can
bus.read(
));
+ can_message.convert_from_canfd_frame(can
_bus_dev.read(interface
));
can_bus.push_new_can_message(can_message);
}
}
\ No newline at end of file
can_bus.push_new_can_message(can_message);
}
}
\ No newline at end of file