swap begin/wait for esp32

This commit is contained in:
lady ada 2022-07-07 21:39:22 -04:00
parent 0412958a6a
commit 22c229d7bf
1 changed files with 3 additions and 3 deletions

View File

@ -20,12 +20,12 @@
void setup() {
// wait for hardware serial to appear
while (!Serial);
// make this baud rate fast enough to we aren't waiting on it
Serial.begin(115200);
// wait for hardware serial to appear
while (!Serial) delay(10);
// 9600 baud is the default rate for the Ultimate GPS
GPSSerial.begin(9600);
}