mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-17 13:48:32 +03:00
simtrace: wait until usb is configured
This commit is contained in:
@@ -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