From: Elias Oenal Date: Fri, 18 May 2018 14:49:17 +0000 (+0200) Subject: Revert "mdio: Add 'TURNAROUND' long/full annotation." in order to comply with the... X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=bf11741f6698289c827f590a419931acd6b86f98;p=libsigrokdecode.git Revert "mdio: Add 'TURNAROUND' long/full annotation." in order to comply with the naming used in the Ethernet standard. This reverts commit 30d775b095a4b76e5fa755b19d5521affa3c053c. --- diff --git a/decoders/mdio/pd.py b/decoders/mdio/pd.py index 3580acc..9ea3a27 100644 --- a/decoders/mdio/pd.py +++ b/decoders/mdio/pd.py @@ -275,10 +275,9 @@ class Decoder(srd.Decoder): 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: - 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