We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 340a244 commit c6d688cCopy full SHA for c6d688c
Arduino_Threads.h
@@ -49,7 +49,9 @@ class ArduinoThreads {
49
// if startFlags have been passed then wait until all the flags are set
50
// before starting the loop. this is used to synchronize loops from multiple
51
// sketches.
52
- globalEvents.wait_all(startFlags);
+ if (startFlags != 0) {
53
+ globalEvents.wait_all(startFlags);
54
+ }
55
56
// if stopFlags have been passed stop when all the flags are set
57
// otherwise loop forever
0 commit comments