X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fmicrowire%2Fpd.py;fp=decoders%2Fmicrowire%2Fpd.py;h=4ec6eb0420f790d9a075d5e0cbcf9427732304d1;hb=5f914c47bebd66887a25ff87b37bcdefe26555a4;hp=b8b18e8a2e57651963b3b89dc533b511e58f84e7;hpb=941e7a64cac608a61e601770afe68de66d346eec;p=libsigrokdecode.git 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):