summaryrefslogtreecommitdiffstats
path: root/examples/OBD2
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2019-11-23 09:00:50 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2020-01-09 15:55:03 +0100
commit28340674704f385c916e528f66e368b10fad31d8 (patch)
tree2fdbd5395d9c50202a02c858c09feb3a9398bbed /examples/OBD2
parent31996413bb7a4cddc94067568117b7ff23ee60ff (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 'examples/OBD2')
0 files changed, 0 insertions, 0 deletions