]> sigrok.org Git - libsigrokdecode.git/commit - decoders/can/pd.py
can: rename 'bitpos' variable
authorGerhard Sittig <redacted>
Sun, 2 Jul 2017 10:23:09 +0000 (12:23 +0200)
committerUwe Hermann <redacted>
Tue, 4 Jul 2017 10:01:04 +0000 (12:01 +0200)
commit300f9194250913babbd57d5eccc2ceccf9010785
treef0b2331a6f4274f307fa089a8164b76e223289b0
parent8a9f60b1a24de32bb4170b927637655ef19de77b
can: rename 'bitpos' variable

Consistently use .sample_point for the member variable that corresponds
to the 'sample_point' property. Use 'samplenum' in .get_sample_point()
to reflect that the routine returns a sample number. This eliminates the
'bitpos' identifier which was used for two different things.
decoders/can/pd.py