Skip to content

Commit 8504a4e

Browse files
authored
Merge pull request #571 from hardbyte/felixdivo-patch-systec-warning
Fix deprecated constructor call
2 parents eea9ef9 + 7819c2d commit 8504a4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)