From: Uwe Hermann Date: Wed, 16 Dec 2015 17:14:30 +0000 (+0100) Subject: usb_power_delivery: Use "if not self.samplerate" form. X-Git-Tag: libsigrokdecode-0.4.0~15 X-Git-Url: https://sigrok.org/gitweb/?a=commitdiff_plain;h=033e7d4db76f2e2a289d5567e9532f26201cfa74;hp=033e7d4db76f2e2a289d5567e9532f26201cfa74;p=libsigrokdecode.git usb_power_delivery: Use "if not self.samplerate" form. 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. ---