usbh_hubbed: When in unknown state, print Error
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
This commit is contained in:
parent
0c04dcd6ef
commit
54f3b37a71
1 changed files with 4 additions and 0 deletions
|
|
@ -519,6 +519,10 @@ static void device_enumerate(usbh_device_t *dev, usbh_packet_callback_data_t cb_
|
|||
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
LOG_PRINTF("Error: Unknown state "__FILE__"/%d\n", __LINE__);
|
||||
break;
|
||||
}
|
||||
|
||||
if (state_start == dev->state) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue