We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 756bde2 commit 22fba0cCopy full SHA for 22fba0c
cores/esp32/Arduino.h
@@ -228,10 +228,12 @@ bool shouldPrintChipDebugReport(void);
228
return true; \
229
}
230
231
-uint64_t getArduinoSetupWaitTick(void);
232
-#define SET_SETUP_WAIT_TICK(tick) \
233
- uint64_t getArduinoSetupWaitTick() { \
234
- return tick; \
+// macro SET_TIME_BEFORE_STARTING_SKETCH_MS(time_ms) can set a time in milliseconds
+// before the sketch would start its execution. It gives the user time to open the Serial Monitor
+uint64_t getArduinoSetupWaitTime_ms(void);
+#define SET_TIME_BEFORE_STARTING_SKETCH_MS(time_ms) \
235
+ uint64_t getArduinoSetupWaitTime_ms() { \
236
+ return time_ms; \
237
238
239
// allows user to bypass esp_spiram_test()
0 commit comments