X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fmdio%2Fpd.py;fp=decoders%2Fmdio%2Fpd.py;h=873079ab879eeb86508bc4f43b5672bc9250edd0;hb=30d775b095a4b76e5fa755b19d5521affa3c053c;hp=2900444fe923a1b401e2b01c60e5fd5fcea87016;hpb=2452e2a32baaf818a92318165ca0bfeb7d75715b;p=libsigrokdecode.git diff --git a/decoders/mdio/pd.py b/decoders/mdio/pd.py index 2900444..873079a 100644 --- a/decoders/mdio/pd.py +++ b/decoders/mdio/pd.py @@ -273,9 +273,10 @@ class Decoder(srd.Decoder): def state_DATA(self, mdio): if self.data == -1: self.data = 0 - self.putff([2, ['TA', 'T']]) + self.putff([2, ['TURNAROUND', 'TA', 'T']]) if self.ta_invalid: - self.putff([4, ['TA%s' % self.ta_invalid, 'TA', 'T']]) + self.putff([4, ['TURNAROUND%s' % self.ta_invalid, + 'TA%s' % self.ta_invalid, 'TA', 'T']]) self.ss_frame_field = self.samplenum self.data_bits -= 1 self.data |= mdio << self.data_bits