Skip to content

Commit

Permalink
usbc: Update tcpc_sop_prime_enable() description
Browse files Browse the repository at this point in the history
Clearly mention that this function enables both SOP' and SOP'' messages.

Signed-off-by: Jianxiong Gu <jianxiong.gu@outlook.com>
  • Loading branch information
recalci committed Dec 18, 2024
1 parent 6247177 commit 1d00144
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/zephyr/drivers/usb_c/usbc_tcpc.h
Original file line number Diff line number Diff line change
Expand Up @@ -839,10 +839,11 @@ static inline int tcpc_set_low_power_mode(const struct device *dev, bool enable)
}

/**
* @brief Enables the reception of SOP Prime messages
* @brief Enables the reception of SOP Prime and optionally SOP Double Prime messages
*
* @param dev Runtime device structure
* @param enable Can receive SOP Prime messages when true, else it can not
* @param enable Can receive SOP Prime messages and SOP Double Prime messages when true,
* else it can not
*
* @retval 0 on success
* @retval -EIO on failure
Expand Down

0 comments on commit 1d00144

Please sign in to comment.