初级会员

- 积分
- 57
- 金钱
- 57
- 注册时间
- 2022-7-20
- 在线时间
- 34 小时
|

楼主 |
发表于 2023-4-1 13:27:05
|
显示全部楼层
static void USBH_UserProcess (USBH_HandleTypeDef *phost, uint8_t id)
{
/* USER CODE BEGIN CALL_BACK_1 */
switch(id)
{
case HOST_USER_SELECT_CONFIGURATION:
break;
case HOST_USER_DISCONNECTION:
Appli_state = APPLICATION_DISCONNECT;
break;
case HOST_USER_CLASS_ACTIVE:
Appli_state = APPLICATION_READY;
break;
case HOST_USER_CONNECTION:
Appli_state = APPLICATION_START;
break;
default:
break;
}
程序一直卡在 case HOST_USER_SELECT_CONFIGURATION: |
|