Skip to content

Commit a290a46

Browse files
committed
Implement CanProtocol for SeeedBus
1 parent 5ac9814 commit a290a46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

can/interfaces/seeedstudio/seeedstudio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from time import time
1313

1414
import can
15-
from can import BusABC, Message
15+
from can import BusABC, Message, CanProtocol
1616

1717
logger = logging.getLogger("seeedbus")
1818

@@ -113,7 +113,7 @@ def __init__(
113113
"could not create the serial device"
114114
) from error
115115

116-
super().__init__(channel=channel, *args, **kwargs)
116+
super().__init__(channel=channel, *args, protocol=CanProtocol.CAN_20, **kwargs)
117117
self.init_frame()
118118

119119
def shutdown(self):

0 commit comments

Comments
 (0)