summaryrefslogtreecommitdiff
path: root/decoders/microwire
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2017-05-05 20:33:26 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2017-05-06 19:56:55 +0200
commit5f914c47bebd66887a25ff87b37bcdefe26555a4 (patch)
tree54965a7b157b31c5d9e5fd1911185ea06d51dc49 /decoders/microwire
parent941e7a64cac608a61e601770afe68de66d346eec (diff)
downloadlibsigrokdecode-5f914c47bebd66887a25ff87b37bcdefe26555a4.tar.gz
libsigrokdecode-5f914c47bebd66887a25ff87b37bcdefe26555a4.zip
microwire/eeprom93cxx: Use 'es' instead of 'se' abbrevation.
(for consistency with all other decoders)
Diffstat (limited to 'decoders/microwire')
-rw-r--r--decoders/microwire/pd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/microwire/pd.py b/decoders/microwire/pd.py
index b8b18e8..4ec6eb0 100644
--- a/decoders/microwire/pd.py
+++ b/decoders/microwire/pd.py
@@ -25,7 +25,7 @@ OUTPUT_PYTHON format:
Packet:
[namedtuple('ss': bit start sample number,
- 'se': bit end sample number,
+ 'es': bit end sample number,
'si': SI bit,
'so': SO bit,
), ...]
@@ -38,7 +38,7 @@ To be able to annotate correctly the instructions formed by the bit, the start
and end sample number of each bit (pair of SI/SO bit) are provided.
'''
-PyPacket = namedtuple('PyPacket', 'ss se si so')
+PyPacket = namedtuple('PyPacket', 'ss es si so')
Packet = namedtuple('Packet', 'samplenum matched cs sk si so')
class Decoder(srd.Decoder):