diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-05-16 16:36:51 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-05-19 11:36:43 +0200 |
commit | fd3978709abbb3ed46caaf48c1d2f45b2c74fa89 (patch) | |
tree | 9df7ea79f378ee6e91276d1bf110e2f723e70315 /CAN-binder/low-can-binding/binding/low-can-hat.hpp | |
parent | 1a8c681528f9f1ff45d111b0c8cdfed7a697bae6 (diff) |
Make and use a single function to read incoming CAN messages
Change-Id: I5d3f2a8628ace464ad25989346cc76682c591bd8
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder/low-can-binding/binding/low-can-hat.hpp')
-rw-r--r-- | CAN-binder/low-can-binding/binding/low-can-hat.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/CAN-binder/low-can-binding/binding/low-can-hat.hpp b/CAN-binder/low-can-binding/binding/low-can-hat.hpp index 57c0a53..b3384d7 100644 --- a/CAN-binder/low-can-binding/binding/low-can-hat.hpp +++ b/CAN-binder/low-can-binding/binding/low-can-hat.hpp @@ -32,8 +32,7 @@ extern "C" struct afb_binding_interface; extern const struct afb_binding_interface *binder_interface; void on_no_clients(std::string message); -int read_can_signal(sd_event_source *s, int fd, uint32_t revents, void *userdata); -int read_diagnostic_message(sd_event_source *s, int fd, uint32_t revents, void *userdata); +int read_message(sd_event_source *s, int fd, uint32_t revents, void *userdata); void subscribe(struct afb_req request); void unsubscribe(struct afb_req request);
\ No newline at end of file |