mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 04:52:59 +01:00
can: fix fall through error
This commit is contained in:
parent
87e3f10e8b
commit
fb393905dd
@ -174,7 +174,7 @@ int conn_can_isotp_send(conn_can_isotp_t *conn, const void *buf, size_t size, in
|
||||
if (msg.content.ptr == conn) {
|
||||
ret = -EIO;
|
||||
}
|
||||
/* No break */
|
||||
/* Fall through */
|
||||
case CAN_MSG_TX_CONFIRMATION:
|
||||
#ifdef MODULE_CONN_CAN_ISOTP_MULTI
|
||||
if (msg.content.ptr != conn) {
|
||||
|
@ -609,6 +609,7 @@ static void _isotp_rx_timeout_task(struct isotp *isotp)
|
||||
case ISOTP_SENDING_FC:
|
||||
DEBUG("_isotp_rx_timeout_task: FC tx conf timeout\n");
|
||||
raw_can_abort(isotp->entry.ifnum, isotp->rx.tx_handle);
|
||||
/* Fall through */
|
||||
case ISOTP_WAIT_CF:
|
||||
DEBUG("_isotp_rx_timeout_task: free rx buf\n");
|
||||
gnrc_pktbuf_release(isotp->rx.snip);
|
||||
|
Loading…
Reference in New Issue
Block a user