Skip to content

Commit ab4ec7b

Browse files
authored
Merge pull request #2330 from arduino/Pedromsousalima/giga/fix-datalog-example
[PXCT-342] Updated Giga dataloger example
2 parents 9554a42 + cfe95a2 commit ab4ec7b

File tree

1 file changed

+2
-2
lines changed
  • content/hardware/10.mega/boards/giga-r1-wifi/tutorials/giga-usb

1 file changed

+2
-2
lines changed

content/hardware/10.mega/boards/giga-r1-wifi/tutorials/giga-usb/giga-usb.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ void setup() {
277277
278278
msd.connect();
279279
280-
while (!msd.connected()) {
280+
while (!msd.connect()) {
281281
//while (!port.connected()) {
282282
delay(1000);
283283
}
@@ -358,7 +358,7 @@ void setup() {
358358
359359
msd.connect();
360360
361-
while (!msd.connected()) {
361+
while (!msd.connect()) {
362362
Serial.print("MSD not found.");
363363
delay(1000);
364364
}

0 commit comments

Comments
 (0)