]> sigrok.org Git - libsigrokdecode.git/commit
can: use common helper for bits to number conversion
authorGerhard Sittig <redacted>
Wed, 22 Jul 2020 20:02:23 +0000 (22:02 +0200)
committerGerhard Sittig <redacted>
Sun, 26 Jul 2020 12:38:18 +0000 (14:38 +0200)
commitb0edaeb30d16af16ddbe112fe12960697196b581
tree2362f816a4608284daa5eb5b38c047e3aa8275ab
parentba8529ae88c89ec5c135d3a93b4c072fea53fbd1
can: use common helper for bits to number conversion

Eliminate repeated local string manipulation for the purpose of
number conversion from bits input. Prefer the common helper instead
(is an MSB first variant desirable to simplify call sites more?).
decoders/can/pd.py