diff options
Diffstat (limited to 'include/usb_common.h')
-rw-r--r-- | include/usb_common.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/usb_common.h b/include/usb_common.h index 00440390df..91418937df 100644 --- a/include/usb_common.h +++ b/include/usb_common.h @@ -134,9 +134,11 @@ int pd_find_pdo_index(uint32_t src_cap_cnt, const uint32_t * const src_caps, * * @param pdo raw pdo to extract * @param ma current of the PDO (output) - * @param mv voltage of the PDO (output) + * @param mv voltage of the PDO, or max_mv of the Augmented PDO (output) + * @param mv voltage of the PDO, or min_mv of the Augmented PDO (output) */ -void pd_extract_pdo_power(uint32_t pdo, uint32_t *ma, uint32_t *mv); +void pd_extract_pdo_power(uint32_t pdo, uint32_t *ma, uint32_t *max_mv, + uint32_t *min_mv); /** * Decide which PDO to choose from the source capabilities. |