refractor
- rename TUSB_DEVICE_STATE_READY to TUSB_DEVICE_STATE_CONFIGURED - move device_state to core/tusb_types.h - remove usbh_device_hcd_data_cleaned_up_cb, hcd now set the state directly
This commit is contained in:
@@ -78,7 +78,7 @@ void setUp(void)
|
||||
usbh_device_info_pool[i].hub_addr = hub_addr;
|
||||
usbh_device_info_pool[i].hub_port = hub_port;
|
||||
usbh_device_info_pool[i].speed = TUSB_SPEED_HIGH;
|
||||
usbh_device_info_pool[i].state = TUSB_DEVICE_STATE_READY;
|
||||
usbh_device_info_pool[i].state = TUSB_DEVICE_STATE_CONFIGURED;
|
||||
}
|
||||
|
||||
regs = get_operational_register(hostid);
|
||||
|
||||
Reference in New Issue
Block a user