Skip to content

Commit

Permalink
Removed blocking serial wait in microcontroller code
Browse files Browse the repository at this point in the history
  • Loading branch information
jm20122012 committed Jul 5, 2024
1 parent c34ad87 commit ae5a46c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions microcontroller/pi-pico-sprinkler-controller.ino
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ void publishStatus();

void setup() {
Serial.begin(115200);
while (!Serial) {
; // wait for serial port to connect. Needed for native USB port only
}
// while (!Serial) {
// ; // wait for serial port to connect. Needed for native USB port only
// }

log("Starting setup...");

Expand Down

0 comments on commit ae5a46c

Please sign in to comment.