summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--decoders/usb_request/pd.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/decoders/usb_request/pd.py b/decoders/usb_request/pd.py
index 79539c6..a4e3577 100644
--- a/decoders/usb_request/pd.py
+++ b/decoders/usb_request/pd.py
@@ -137,8 +137,7 @@ class Decoder(srd.Decoder):
)
def __init__(self):
- self.samplerate = 8e6 # None
- self.secs_per_sample = float(1) / float(self.samplerate)
+ self.samplerate = None
self.request = {}
self.request_id = 0
self.transaction_state = 'IDLE'