low-can-cb: improve readability
authorRomain Forlot <romain.forlot@iot.bzh>
Wed, 20 Nov 2019 18:46:11 +0000 (19:46 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Tue, 3 Dec 2019 18:46:26 +0000 (19:46 +0100)
commit7b7d5f70a5957c5d9c18342adb66e6d300b70894
tree9805d77f76475b95ced9d78d8f96fe3bb23a5e3f
parent1f57e04d955877654ce4ac055dbb533281ce4af5
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.

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