]> sigrok.org Git - libsigrokdecode.git/commit
pjon: unbreak CRC32 check, adjust data length
authorGerhard Sittig <redacted>
Fri, 17 Jul 2020 07:12:17 +0000 (09:12 +0200)
committerGerhard Sittig <redacted>
Fri, 17 Jul 2020 15:13:39 +0000 (17:13 +0200)
commit303f43e74aee56f64318be7b0507d0f7a70c1897
tree874f60e60bce32457ac9dfdc6204a7f7a6c9f0f6
parent397ec00dae6800d733f0efbbf430a6f8c0bed000
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 <redacted>
decoders/pjon/pd.py