refactor hub class
- separate connect/disconnect handling - hub work with full speed, but doesn't seem to work with Low speed device (with mcb1800) - need to update msc host after migrating from isr to xfer_cb (blocked at inquiry)
This commit is contained in:
		@@ -533,7 +533,7 @@ static void async_list_xfer_complete_isr(ehci_qhd_t * const async_head)
 | 
			
		||||
 | 
			
		||||
static void period_list_xfer_complete_isr(uint8_t hostid, uint8_t interval_ms)
 | 
			
		||||
{
 | 
			
		||||
  uint8_t max_loop = 0;
 | 
			
		||||
  uint16_t max_loop = 0;
 | 
			
		||||
  uint32_t const period_1ms_addr = (uint32_t) get_period_head(hostid, 1);
 | 
			
		||||
  ehci_link_t next_item = * get_period_head(hostid, interval_ms);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user