From: Gerhard Sittig Date: Sat, 12 May 2018 06:31:52 +0000 (+0200) Subject: DecodeSignal: avoid specifying a zero samplerate to libsigrokdecode X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;h=ba5b52e12e2d95c5ac9155cb697e002df5df1de6;hp=ba5b52e12e2d95c5ac9155cb697e002df5df1de6;p=pulseview.git DecodeSignal: avoid specifying a zero samplerate to libsigrokdecode 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. ---