simtrace: wait until usb is configured

This commit is contained in:
Christina Quast committed 2015-03-10 15:37:52 +01:00
1 parent 917e0415c9
commit c5a78d72bf
1 file changed
+1 -1
+1 -1
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");