]> sigrok.org Git - libsigrok.git/commit - src/input/trace32_ad.c
input/trace32_ad: use u64 instead of u32 for samplerate option
authorMarkus Heidelberg <redacted>
Mon, 5 Dec 2022 23:51:20 +0000 (00:51 +0100)
committerGerhard Sittig <redacted>
Sat, 17 Dec 2022 19:10:30 +0000 (20:10 +0100)
commit77ee3168d0ae88c92a127999d890fff0511ca31e
tree420f5d870f0d4b294420e379a9887d0efbd9dbaa
parent49c45a5c64a031c4371710cad1e7a63c9d67c318
input/trace32_ad: use u64 instead of u32 for samplerate option

The variable type is already u64 so this is consistent now inside of
this module and also with the other input parsers using a samplerate
option.

This also fixes a crash when invoking PulseView with the "samplerate"
command line option because u32 is not yet included in C++ bindings:

$ pulseview -i /dev/null -I trace32_ad:samplerate=1
Exception: internal error
src/input/trace32_ad.c