Skip to content

Commit 6e4b0ac

Browse files
committed
Wait for Serial
1 parent c7c3746 commit 6e4b0ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/SBU/examples/SBU_LoadBinary/SBU_LoadBinary.ino

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ bool update_available = false;
1818

1919
void setup() {
2020
Serial.begin(9600);
21+
while(!Serial) { }
2122

2223
unsigned long const start = millis();
2324
for(unsigned long now = millis(); !Serial && ((now - start) < 5000); now = millis()) { };

0 commit comments

Comments
 (0)