Skip to content

Commit a258a1e

Browse files
authored
feat(arduino): changing it to use time in ms
1 parent 22fba0c commit a258a1e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cores/esp32/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ __attribute__((weak)) bool shouldPrintChipDebugReport(void) {
4444
return false;
4545
}
4646

47-
__attribute__((weak)) uint64_t getArduinoSetupWaitTick(void) {
47+
// this function can be changed by the skectch using the macro SET_TIME_BEFORE_STARTING_SKETCH_MS(time_ms)
48+
__attribute__((weak)) uint64_t getArduinoSetupWaitTime_ms(void) {
4849
return 0;
4950
}
5051

0 commit comments

Comments
 (0)