We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31c23bb commit fca9827Copy full SHA for fca9827
1 file changed
can/interfaces/slcan.py
@@ -97,9 +97,9 @@ def __init__(
97
if bitrate is not None and btr is not None:
98
raise ValueError("Bitrate and btr mutually exclusive.")
99
if bitrate is not None:
100
- self.set_bitrate(self, bitrate)
+ self.set_bitrate(bitrate)
101
if btr is not None:
102
- self.set_bitrate_reg(self, btr)
+ self.set_bitrate_reg(btr)
103
self.open()
104
105
super().__init__(
0 commit comments