summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <leonerd@leonerd.org.uk>2015-11-07 23:39:59 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2015-11-22 15:14:06 +0100
commit92a06d0b6bbe173257d7c76ed2318f5b35f65637 (patch)
treebefeabed94091d1e647b854ba4efcd45fbf86860
parent79065c6f7602f1f02399bcf45bb3ef0cb73587ae (diff)
downloadlibsigrokdecode-92a06d0b6bbe173257d7c76ed2318f5b35f65637.tar.gz
libsigrokdecode-92a06d0b6bbe173257d7c76ed2318f5b35f65637.zip
Fix documentation comment in SPI decoder
-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 4a686dd..09b5689 100644
--- a/decoders/spi/pd.py
+++ b/decoders/spi/pd.py
@@ -34,7 +34,7 @@ Packet:
channel was not supplied.
- 'BITS': <data1>/<data2> contain a list of bit values in this MOSI/MISO data
item, and for each of those also their respective start-/endsample numbers.
- - 'CS CHANGE': <data1> is the old CS# pin value, <data2> is the new value.
+ - 'CS-CHANGE': <data1> is the old CS# pin value, <data2> is the new value.
Both data items are Python numbers (0/1), not strings. At the beginning of
the decoding a packet is generated with <data1> = None and <data2> being the
initial state of the CS# pin or None if the chip select pin is not supplied.