diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2020-07-17 09:12:17 +0200 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2020-07-17 17:13:39 +0200 |
commit | 303f43e74aee56f64318be7b0507d0f7a70c1897 (patch) | |
tree | 874f60e60bce32457ac9dfdc6204a7f7a6c9f0f6 /decoders/pwm/pd.py | |
parent | 397ec00dae6800d733f0efbbf430a6f8c0bed000 (diff) | |
download | libsigrokdecode-303f43e74aee56f64318be7b0507d0f7a70c1897.tar.gz libsigrokdecode-303f43e74aee56f64318be7b0507d0f7a70c1897.zip |
pjon: unbreak CRC32 check, adjust data length
The previous implementation unconditionally assumed a CRC width of
one byte when it calculated the checksum for received frame data.
Do reflect on the CRC8/CRC32 choice instead.
This patch is based on a fix that was
Submitted-By: Julio Aguirre <jcallano@gmail.com>
Diffstat (limited to 'decoders/pwm/pd.py')
0 files changed, 0 insertions, 0 deletions