summaryrefslogtreecommitdiff
path: root/decoders/spi/pd.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/spi/pd.py')
-rw-r--r--decoders/spi/pd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/spi/pd.py b/decoders/spi/pd.py
index 5c7df19..96c0689 100644
--- a/decoders/spi/pd.py
+++ b/decoders/spi/pd.py
@@ -265,7 +265,7 @@ class Decoder(srd.Decoder):
def decode(self, ss, es, data):
if not self.samplerate:
- raise SamplerateError("Cannot decode without samplerate.")
+ raise SamplerateError('Cannot decode without samplerate.')
# Either MISO or MOSI can be omitted (but not both). CS# is optional.
for (self.samplenum, pins) in data: