Skip to content

Commit 56efce7

Browse files
committed
wait 2s for USB connection
1 parent b05680c commit 56efce7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/dmdreader.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,7 @@ bool init()
691691

692692
bool usb_connected()
693693
{
694+
sleep_ms(2000); // wait for USB to be initialized
694695
return tud_mounted();
695696
}
696697

0 commit comments

Comments
 (0)