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:
		| @@ -166,8 +166,8 @@ void async_advance_isr(ehci_qhd_t * const async_head) | ||||
|       p_control_qhd->used            = 0; | ||||
|       p_control_qhd->p_qtd_list_head = p_control_qhd->p_qtd_list_tail = NULL; | ||||
|  | ||||
|       // TODO abstract: Host Controller has cleaned up its data for this device, notify usbh | ||||
|       usbh_device_hcd_data_cleaned_up_cb(relative_dev_addr+1); | ||||
|       // Host Controller has cleaned up its cached data for this device, set state to unplug | ||||
|       usbh_device_info_pool[relative_dev_addr+1].state = TUSB_DEVICE_STATE_UNPLUG; | ||||
|     } | ||||
|  | ||||
|     // check if any other endpoints in pool is removing | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 hathach
					hathach