Skip to content

Commit 4f0cfdd

Browse files
henrikbrixandersenfabiobaltieri
authored andcommitted
drivers: can: document return value of 0 for can_get_max_bitrate()
Explicitly document that a return value of 0 from can_get_max_bitrate() indicates success. Signed-off-by: Henrik Brix Andersen <[email protected]>
1 parent 23e7649 commit 4f0cfdd

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

include/zephyr/drivers/can.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -715,6 +715,7 @@ static inline int z_impl_can_get_core_clock(const struct device *dev, uint32_t *
715715
* @param dev Pointer to the device structure for the driver instance.
716716
* @param[out] max_bitrate Maximum supported bitrate in bits/s
717717
*
718+
* @retval 0 If successful.
718719
* @retval -EIO General input/output error.
719720
* @retval -ENOSYS If this function is not implemented by the driver.
720721
*/

0 commit comments

Comments
 (0)