]> sigrok.org Git - libsigrokdecode.git/commitdiff
usb_power_delivery: Use "if not self.samplerate" form.
authorUwe Hermann <redacted>
Wed, 16 Dec 2015 17:14:30 +0000 (18:14 +0100)
committerUwe Hermann <redacted>
Wed, 16 Dec 2015 17:12:28 +0000 (18:12 +0100)
Use the "if not self.samplerate" form, which catches both the case
where self.samplerate is None, as well as the case where it is 0.

This is also consistent with all the other PDs.


No differences found