Skip to content

Commit 96df597

Browse files
authored
Fix deprecated constructor call
This would fail in version 4.0 of this library and already prints a warning.
1 parent 097bcde commit 96df597

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

can/interfaces/systec/ucanbus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def _recv_internal(self, timeout):
140140

141141
msg = Message(timestamp=float(message[0].time) / 1000.0,
142142
is_remote_frame=bool(message[0].frame_format & MsgFrameFormat.MSG_FF_RTR),
143-
extended_id=bool(message[0].frame_format & MsgFrameFormat.MSG_FF_EXT),
143+
is_extended_id=bool(message[0].frame_format & MsgFrameFormat.MSG_FF_EXT),
144144
arbitration_id=message[0].id,
145145
dlc=len(message[0].data),
146146
data=message[0].data)

0 commit comments

Comments
 (0)