Skip to content

Commit 6dcfcc5

Browse files
committed
Fix formatting
1 parent 54af5d2 commit 6dcfcc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

can/interfaces/socketcan/socketcan.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def build_bcm_update_header(can_id: int, msg_flags: int, nframes: int = 1) -> by
321321

322322

323323
def is_frame_fd(frame: bytes):
324-
# According to the SocketCAN implementation the frame length
324+
# According to the SocketCAN implementation the frame length
325325
# should indicate if the message is FD or not (not the flag value)
326326
return len(frame) == constants.CANFD_MTU
327327

@@ -331,7 +331,7 @@ def dissect_can_frame(frame: bytes) -> Tuple[int, int, int, bytes]:
331331

332332
if data_len not in can.util.CAN_FD_DLC:
333333
data_len = min(i for i in can.util.CAN_FD_DLC if i >= data_len)
334-
334+
335335
can_dlc = data_len
336336

337337
if not is_frame_fd(frame):

0 commit comments

Comments
 (0)