summaryrefslogtreecommitdiff
path: root/decoders/ds1307
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2020-08-12 18:47:01 +0200
committerGerhard Sittig <gerhard.sittig@gmx.net>2020-08-12 19:43:18 +0200
commitd7c2340885909a619acfe590201f71faefae7843 (patch)
tree2ad8163b8b7d3c68edb6619c2228ccf29bd388a1 /decoders/ds1307
parent2bb149e691be4e1abf664a346b0d97c3eac0ad3b (diff)
downloadlibsigrokdecode-d7c2340885909a619acfe590201f71faefae7843.tar.gz
libsigrokdecode-d7c2340885909a619acfe590201f71faefae7843.zip
sdq: only use samplerate and options values after validity check
Move the calculation which involves the samplerate as well as user provided options out of the meta packet reception and to the top of the decode() method. Especially only use the samplerate after it was tested for availability.
Diffstat (limited to 'decoders/ds1307')
0 files changed, 0 insertions, 0 deletions