adding code to allow configure MIC2555 to pull down D+/D- (still need bit bangding I2C on PB_0 PB_1)

add back port reset after get 8 bytes of device descriptor
This commit is contained in:
hathach
2013-04-09 02:13:18 +07:00
parent b0a54cbf8f
commit c036efff1d
6 changed files with 66 additions and 11 deletions

View File

@@ -295,7 +295,7 @@ OSAL_TASK_DECLARE(usbh_enumeration_task)
)
);
// hcd_port_reset( usbh_devices[0].core_id ); // reset port after 8 byte descriptor
hcd_port_reset( usbh_devices[0].core_id ); // reset port after 8 byte descriptor
//------------- Set new address -------------//
new_addr = get_new_address();