From 434ebd2954c6984b43a159327e5df9182dee43da Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Fri, 22 Nov 2024 14:31:06 +0100 Subject: [PATCH] Fixed interface example bitrate init --- Examples/ExampleInterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples/ExampleInterface.py b/Examples/ExampleInterface.py index f55c584..6786e7c 100644 --- a/Examples/ExampleInterface.py +++ b/Examples/ExampleInterface.py @@ -117,7 +117,7 @@ class ExampleInterface(Interface): # In this case, we can also set the indicated bit- # rate of the interface to the serial port speed. - self.bitrate = self.speed + self.bitrate = speed # Configure internal properties on the interface # according to the supplied configuration.