]> sigrok.org Git - libsigrokdecode.git/commitdiff
Revert "mdio: Add 'TURNAROUND' long/full annotation." in order to comply with the...
authorElias Oenal <redacted>
Fri, 18 May 2018 14:49:17 +0000 (16:49 +0200)
committerUwe Hermann <redacted>
Sun, 10 Jun 2018 14:11:18 +0000 (16:11 +0200)
This reverts commit 30d775b095a4b76e5fa755b19d5521affa3c053c.

decoders/mdio/pd.py

index 3580acc1cb888ca7c10a4b41329d20009e3d6b09..9ea3a27349e372fbc0d5263c4c03b6a114658af2 100644 (file)
@@ -275,10 +275,9 @@ class Decoder(srd.Decoder):
     def state_DATA(self, mdio):
         if self.data == -1:
             self.data = 0
     def state_DATA(self, mdio):
         if self.data == -1:
             self.data = 0
-            self.putff([2, ['TURNAROUND', 'TA', 'T']])
+            self.putff([2, ['TA', 'T']])
             if self.ta_invalid:
             if self.ta_invalid:
-                self.putff([4, ['TURNAROUND%s' % self.ta_invalid,
-                                'TA%s' % self.ta_invalid, 'TA', 'T']])
+                self.putff([4, ['TA%s' % self.ta_invalid, 'TA', 'T']])
             self.ss_frame_field = self.samplenum
         self.data_bits -= 1
         self.data |= mdio << self.data_bits
             self.ss_frame_field = self.samplenum
         self.data_bits -= 1
         self.data |= mdio << self.data_bits