mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
Correcting comments
This commit is contained in:
parent
c959e65edd
commit
9602c06f8d
@ -710,9 +710,10 @@ static bool process_control_request(uint8_t rhport, tusb_control_request_t const
|
|||||||
_usbd_dev.speed = speed; // restore speed
|
_usbd_dev.speed = speed; // restore speed
|
||||||
}
|
}
|
||||||
|
|
||||||
// switch to new configuration if not zero
|
// Handle the new configuration and execute the corresponding callback
|
||||||
if ( cfg_num )
|
if ( cfg_num )
|
||||||
{
|
{
|
||||||
|
// switch to new configuration if not zero
|
||||||
TU_ASSERT( process_set_config(rhport, cfg_num) );
|
TU_ASSERT( process_set_config(rhport, cfg_num) );
|
||||||
|
|
||||||
if ( tud_mount_cb ) tud_mount_cb();
|
if ( tud_mount_cb ) tud_mount_cb();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user