Skip to content

Commit 445ef18

Browse files
committed
Adding comment and reducing wait time.
1 parent 17715d6 commit 445ef18

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/Beginner/Audio_Playback/Audio_Playback.ino

+2-3
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,12 @@ void setup()
2121
Serial.begin(115200);
2222
while (!Serial);
2323

24+
/* Enable power for HOST USB connector. */
2425
pinMode(PA_15, OUTPUT);
2526
digitalWrite(PA_15, HIGH);
2627

2728
Serial.println("Please connect a USB stick to the GIGA's USB port ...");
28-
29-
while (!msd.connect())
30-
delay(1000);
29+
while (!msd.connect()) delay(100);
3130

3231
Serial.println("Mounting USB device ...");
3332
int const rc_mount = usb.mount(&msd);

0 commit comments

Comments
 (0)