Skip to content

Commit 9ca4b34

Browse files
henrikbrixandersenfabiobaltieri
authored andcommitted
drivers: can: calling can_stop() shall abort any pending transmissions
Update the documentation for can_stop() to mention that it shall abort any pending CAN frame transmissions. Fixes: #50545 Signed-off-by: Henrik Brix Andersen <[email protected]>
1 parent a99a55e commit 9ca4b34

File tree

1 file changed

+2
-1
lines changed
  • include/zephyr/drivers

1 file changed

+2
-1
lines changed

include/zephyr/drivers/can.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,8 @@ static inline int z_impl_can_start(const struct device *dev)
978978
* @brief Stop the CAN controller
979979
*
980980
* Bring the CAN controller into `CAN_STATE_STOPPED`. This will disallow the CAN controller from
981-
* participating in CAN communication and disable the CAN transceiver, if supported.
981+
* participating in CAN communication, abort any pending CAN frame transmissions, and disable the
982+
* CAN transceiver, if supported.
982983
*
983984
* @see can_start()
984985
* @see can_transceiver_disable()

0 commit comments

Comments
 (0)