From bc5d24a69a5f4ce4c1aaddb5c1f62cc98b8b38e0 Mon Sep 17 00:00:00 2001 From: linuswck Date: Wed, 11 Dec 2024 12:36:02 +0800 Subject: [PATCH] Fix malformed pid_pipeline patch --- fast-servo/pid_pipeline.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fast-servo/pid_pipeline.patch b/fast-servo/pid_pipeline.patch index 26d2986..dc0dc96 100644 --- a/fast-servo/pid_pipeline.patch +++ b/fast-servo/pid_pipeline.patch @@ -1,5 +1,5 @@ diff --git a/gateware/logic/pid.py b/gateware/logic/pid.py -index 4320f94..64e1a74 100644 +index 4320f94..e737577 100644 --- a/gateware/logic/pid.py +++ b/gateware/logic/pid.py @@ -56,10 +56,13 @@ class PID(Module, AutoCSR): @@ -50,7 +50,7 @@ index 4320f94..64e1a74 100644 kd_reg_r.eq(kd_reg), self.output_d.eq(kd_reg - kd_reg_r), ] -@@ -143,4 +150,12 @@ class PID(Module, AutoCSR): +@@ -143,4 +150,10 @@ class PID(Module, AutoCSR): # sync is required here, otherwise we get artifacts when one of the # signals changes sign