mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-11-08 18:35:59 +03:00
simtrace: wait until usb is configured
This commit is contained in:
1 parent
917e0415c9
commit
c5a78d72bf
1 file changed
+1
-1
@@ -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");
|
||||
|
||||
|
||||
Reference in new issue
Block a user