Skip to content

Commit cede49f

Browse files
committed
usb_slcan: change LL_MS2ST to chTimeMS2I
1 parent 830fcfb commit cede49f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/usb_slcan/usb_slcan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ static void process_slcan_cmd(struct slcan_instance_s* instance, size_t cmd_len)
115115
// check if cmd is long enough to contain DLC
116116
// note: cmd_len does not include \r
117117
if (cmd_len < data_begin_idx || (frame.IDE && cmd_len < data_begin_idx)) {
118-
chnWriteTimeout(&SDU1, (uint8_t*)"\a", 1, LL_MS2ST(50));
118+
chnWriteTimeout(&SDU1, (uint8_t*)"\a", 1, chTimeMS2I(50));
119119
return;
120120
}
121121

0 commit comments

Comments
 (0)