simtrace: wait until usb is configured

This commit is contained in:
Christina Quast
2015-03-10 15:35:33 +01:00
parent 917e0415c9
commit c5a78d72bf

View File

@@ -52,7 +52,7 @@ extern int main( void )
printf("%s", "USB init\n\r");
// FIXME: why don't we get any interrupts with this line?:
// while(USBD_GetState() < USBD_STATE_CONFIGURED);
while(USBD_GetState() < USBD_STATE_CONFIGURED);
TRACE_DEBUG("%s", "Start\n\r");