remove port param in usbd_get_port_speed

This commit is contained in:
sakumisu
2024-04-29 11:35:29 +08:00
parent 45e9a2fde8
commit 2da4edf76b
10 changed files with 12 additions and 12 deletions

View File

@@ -36,11 +36,11 @@ int usbd_set_address(uint8_t busid, const uint8_t addr);
/**
* @brief Get USB device speed
*
* @param[in] port port index
* @param[in] busid bus index
*
* @return port speed, USB_SPEED_LOW or USB_SPEED_FULL or USB_SPEED_HIGH
*/
uint8_t usbd_get_port_speed(uint8_t busid, const uint8_t port);
uint8_t usbd_get_port_speed(uint8_t busid);
/**
* @brief configure and enable endpoint.