Skip to content

Commit eaec282

Browse files
Update Arduino.h
Add function definition and SET_SETUP_WAIT_TICH function
1 parent 3a3853c commit eaec282

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cores/esp32/Arduino.h

+6
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,12 @@ bool shouldPrintChipDebugReport(void);
228228
return true; \
229229
}
230230

231+
uint64_t getArduinoSetupWaitTick(void);
232+
#define SET_SETUP_WAIT_TICH(tick) \
233+
uint64_t getArduinoSetupWaitTick() { \
234+
return tick; \
235+
}
236+
231237
// allows user to bypass esp_spiram_test()
232238
bool esp_psram_extram_test(void);
233239
#define BYPASS_SPIRAM_TEST(bypass) \

0 commit comments

Comments
 (0)