diff options
Diffstat (limited to 'decoders/microwire/pd.py')
-rw-r--r-- | decoders/microwire/pd.py | 4 |
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): |