Code Review
/
apps
/
agl-service-can-low-level.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
a1b6574
)
Fails write request if CAN signal not writable
author
Romain Forlot
<romain.forlot@iot.bzh>
Thu, 30 Nov 2017 10:49:15 +0000
(11:49 +0100)
committer
Romain Forlot
<romain.forlot@iot.bzh>
Thu, 30 Nov 2017 10:56:09 +0000
(11:56 +0100)
Change-Id: I8d75a232ba7fad9cc95f286e521c2451a3a29061
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
low-can-binding/binding/low-can-cb.cpp
patch
|
blob
|
history
diff --git
a/low-can-binding/binding/low-can-cb.cpp
b/low-can-binding/binding/low-can-cb.cpp
index
3145065
..
edf464b
100644
(file)
--- a/
low-can-binding/binding/low-can-cb.cpp
+++ b/
low-can-binding/binding/low-can-cb.cpp
@@
-463,7
+463,10
@@
static int write_signal(const std::string& name, uint64_t value)
rc = send_frame(bus_name, cf);
}
else
- {AFB_NOTICE("%s isn't writable. Message not sent.", sig->get_name().c_str());}
+ {
+ AFB_WARNING("%s isn't writable. Message not sent.", sig->get_name().c_str());
+ return -1;
+ }
}
}