DecodeSignal: avoid specifying a zero samplerate to libsigrokdecode
authorGerhard Sittig <gerhard.sittig@gmx.net>
Sat, 12 May 2018 06:31:52 +0000 (08:31 +0200)
committerUwe Hermann <uwe@hermann-uwe.de>
Thu, 17 May 2018 21:08:31 +0000 (23:08 +0200)
When the sample rate is not known, avoid claiming the value would be
zero and calling setup routines in backend libraries. Although the call
is not strictly fatal, this simple check avoids potential log messages
at callee's for this unexpected condition.


No differences found