usb_cables: minor, function rename
This commit is contained in:
parent
e85cdb52d0
commit
fad74acd9e
|
@ -4717,7 +4717,7 @@ void usb_cables_check_ground(const struct usb_connector_t** connectors, uint8_t
|
|||
}
|
||||
}
|
||||
|
||||
bool usb_cables_check_load(const struct usb_connector_t* connector)
|
||||
bool usb_cables_test_load(const struct usb_connector_t* connector)
|
||||
{
|
||||
// verify input arguments
|
||||
if (NULL == connector) {
|
||||
|
|
|
@ -103,11 +103,11 @@ uint8_t usb_cables_check_pins(const struct usb_pin_t* pin1, const struct usb_pin
|
|||
* @note it assumes all grounds are connected (e.g. only one cable is connected)
|
||||
*/
|
||||
void usb_cables_check_ground(const struct usb_connector_t** connectors, uint8_t connectors_nb, bool* connected);
|
||||
/** check if there is a load on the connector
|
||||
* @param[in] connector connector to check
|
||||
/** test if there is a load on the connector
|
||||
* @param[in] connector connector to test
|
||||
* @return if there is a load on the connector
|
||||
*/
|
||||
bool usb_cables_check_load(const struct usb_connector_t* connector);
|
||||
bool usb_cables_test_load(const struct usb_connector_t* connector);
|
||||
/** check USB cable connections
|
||||
* @param[in] usb_cable USB cable to check
|
||||
* @param[out] defined number of pin pairs that are connected according to definition
|
||||
|
|
Loading…
Reference in New Issue