diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2019-11-29 15:42:55 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2020-01-09 16:25:36 +0100 |
commit | 244a40656a2aff974b25418791e58703502f566b (patch) | |
tree | f77123df46fd030e181ac7fda2de6ca45af699bb /low-can-binding/binding | |
parent | 54f33f54ebc88335f14886eaefa1d08144b06fee (diff) |
all: format typo
Bug-AGL: SPEC-2988
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); } } |