diff --git a/content/hardware/10.mega/boards/giga-r1-wifi/tutorials/giga-usb/giga-usb.md b/content/hardware/10.mega/boards/giga-r1-wifi/tutorials/giga-usb/giga-usb.md index 662a5b5ccc..d44513b96a 100644 --- a/content/hardware/10.mega/boards/giga-r1-wifi/tutorials/giga-usb/giga-usb.md +++ b/content/hardware/10.mega/boards/giga-r1-wifi/tutorials/giga-usb/giga-usb.md @@ -277,7 +277,7 @@ void setup() { msd.connect(); - while (!msd.connected()) { + while (!msd.connect()) { //while (!port.connected()) { delay(1000); } @@ -358,7 +358,7 @@ void setup() { msd.connect(); - while (!msd.connected()) { + while (!msd.connect()) { Serial.print("MSD not found."); delay(1000); }