low-can-cb: improve readability 21/23221/6
authorRomain Forlot <romain.forlot@iot.bzh>
Wed, 20 Nov 2019 18:46:11 +0000 (19:46 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Thu, 9 Jan 2020 14:55:03 +0000 (15:55 +0100)
commitfae627b646e9ab709adbd0c60d7582176375e0c3
tree7f1a6bb834aeb6b191be2fd3c4b9715f7fa4fb5c
parent04b7efcdd1a8dfdf461c78d083aabee5445e54bd
low-can-cb: improve readability

Just make thing more readable by define variables at the beginning of
functions. And directly assign them if possible.
Also improve format using the same format than in the rest of the project.

Bug-AGL: SPEC-2932

Change-Id: I5cc7685b80734d0eb43a29fc06b2a8434f3469fa
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
low-can-binding/binding/low-can-cb.cpp