summaryrefslogtreecommitdiff
path: root/decoders/em4100/pd.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2015-12-16 18:14:30 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2015-12-16 18:12:28 +0100
commit033e7d4db76f2e2a289d5567e9532f26201cfa74 (patch)
treec8715a4db5c07a2bfb09e70102c846ec3e70de76 /decoders/em4100/pd.py
parent89b9aaf771abd5642dc8acb2281af3bb66a9424f (diff)
downloadlibsigrokdecode-033e7d4db76f2e2a289d5567e9532f26201cfa74.tar.gz
libsigrokdecode-033e7d4db76f2e2a289d5567e9532f26201cfa74.zip
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.
Diffstat (limited to 'decoders/em4100/pd.py')
0 files changed, 0 insertions, 0 deletions