diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2019-11-23 09:00:50 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2020-01-09 15:55:03 +0100 |
commit | 28340674704f385c916e528f66e368b10fad31d8 (patch) | |
tree | 2fdbd5395d9c50202a02c858c09feb3a9398bbed /low-can-binding/utils | |
parent | 31996413bb7a4cddc94067568117b7ff23ee60ff (diff) |
encoder: use switch case to handle CAN protocols
Better using switch case than if...else. This would be more extendable
and readable.
Bug-AGL: SPEC-2988
Change-Id: I5fb03531ad77441bcb7d1620bdb07d82aa6a4eb4
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'low-can-binding/utils')
0 files changed, 0 insertions, 0 deletions