summaryrefslogtreecommitdiff
path: root/decoders/sdcard_spi
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/sdcard_spi')
-rw-r--r--decoders/sdcard_spi/__init__.py1
-rw-r--r--decoders/sdcard_spi/pd.py3
2 files changed, 1 insertions, 3 deletions
diff --git a/decoders/sdcard_spi/__init__.py b/decoders/sdcard_spi/__init__.py
index 293b654..60f6d98 100644
--- a/decoders/sdcard_spi/__init__.py
+++ b/decoders/sdcard_spi/__init__.py
@@ -67,4 +67,3 @@ SPI mode properties (differences to SD mode):
'''
from .pd import *
-
diff --git a/decoders/sdcard_spi/pd.py b/decoders/sdcard_spi/pd.py
index 6bd0be7..cbf59d7 100644
--- a/decoders/sdcard_spi/pd.py
+++ b/decoders/sdcard_spi/pd.py
@@ -228,7 +228,7 @@ class Decoder(srd.Decoder):
if len(self.read_buf) < 16 + 4:
return
self.cmd_es = self.es
- self.read_buf = self.read_buf[4:] ### TODO: Document or redo.
+ self.read_buf = self.read_buf[4:] # TODO: Document or redo.
self.putx([9, ['CSD: %s' % self.read_buf]])
# TODO: Decode all bits.
self.read_buf = []
@@ -439,4 +439,3 @@ class Decoder(srd.Decoder):
handle_response(miso)
self.state = 'IDLE'
-