summaryrefslogtreecommitdiff
path: root/decoders/guess_bitrate/pd.py
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2019-10-10 09:01:01 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2019-11-29 20:33:48 +0100
commite4eeaab3206e757592cea79f4686180bc3ee38e0 (patch)
treef882729810e00d6e31416a88b9614569d235f7a7 /decoders/guess_bitrate/pd.py
parent8abd7aa36c1a8c2d83777fedba499f6fb7f38e06 (diff)
downloadlibsigrokdecode-e4eeaab3206e757592cea79f4686180bc3ee38e0.tar.gz
libsigrokdecode-e4eeaab3206e757592cea79f4686180bc3ee38e0.zip
can: more robust sample point position for low sample rates
Do more of the calculation with floating point, only trim precision and enforce integers at the end of the determination of the next sample point. This shall increase robustness at low capture sample rates.
Diffstat (limited to 'decoders/guess_bitrate/pd.py')
0 files changed, 0 insertions, 0 deletions