diff options
author | 2019-11-29 15:42:55 +0100 | |
---|---|---|
committer | 2019-12-03 19:46:26 +0100 | |
commit | f2ba29a69543a88199b7a664459980ada9345c03 (patch) | |
tree | bf96787bc91af364c7926ce5244d2b13934e6ec4 /low-can-binding/binding | |
parent | 00b0c2cc66ee0e5e6c91f2851e1e5b9d815409ef (diff) |
all: format typo
Change-Id: I81c01a817cd31d577068350d8445a1df2751bff7
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'low-can-binding/binding')
-rw-r--r-- | low-can-binding/binding/low-can-hat.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/low-can-binding/binding/low-can-hat.cpp b/low-can-binding/binding/low-can-hat.cpp index 5a268745..7e0d94a4 100644 --- a/low-can-binding/binding/low-can-hat.cpp +++ b/low-can-binding/binding/low-can-hat.cpp @@ -71,7 +71,9 @@ int read_message(sd_event_source *event_source, int fd, uint32_t revents, void * std::shared_ptr<message_t> message = s->read_message(); // Sure we got a valid CAN message ? - if (message->get_id() && message->get_length() && !(message->get_flags() & INVALID_FLAG)) + if (message->get_id() && + message->get_length() && + ! (message->get_flags() & INVALID_FLAG) ) push_n_notify(message); } } |