From a7b3539cdea96f7c2a6d96739ddbc6c6e6b12107 Mon Sep 17 00:00:00 2001 From: chenyue Date: Sun, 16 Aug 2026 01:32:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=99=BD=E7=84=B6=E6=8C=89=E6=96=87=E6=A1=A3,?= =?UTF-8?q?=E5=8F=8D=E9=A6=88=E6=95=B0=E6=8D=AE=E5=BA=94=E8=AF=A5=E4=B8=8A?= =?UTF-8?q?=E5=8D=87=E6=B2=BF=E9=87=87=E6=A0=B7,=E4=BD=86=E6=98=AF?= =?UTF-8?q?=E5=AE=9E=E9=99=85=E4=B8=8A=E5=8F=91=E7=8E=B0=E4=B8=8B=E9=99=8D?= =?UTF-8?q?=E6=B2=BF=E9=87=87=E6=A0=B7=E6=9B=B4=E5=87=86=E7=A1=AE.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xy2-100-E/pd.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xy2-100-E/pd.py b/xy2-100-E/pd.py index 6dacf56..c6db908 100644 --- a/xy2-100-E/pd.py +++ b/xy2-100-E/pd.py @@ -288,8 +288,7 @@ class Decoder(srd.Decoder): clk, sync, data, data2, data3, data4, stat = self.wait({0: 'e'}) if clk == 1:# rising edge - bit_value3 = data3 - bit_value4 = data4 + stat_value = stat bit_es = self.samplenum if bit_ss is not None: @@ -298,6 +297,8 @@ class Decoder(srd.Decoder): else:# falling edge bit_value = data bit_value2 = data2 + bit_value3 = data3 + bit_value4 = data4 sync_value = sync bit2_es = self.samplenum