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 6f92b60 commit 3a3853cCopy full SHA for 3a3853c
cores/esp32/main.cpp
@@ -44,10 +44,15 @@ __attribute__((weak)) bool shouldPrintChipDebugReport(void) {
44
return false;
45
}
46
47
+__attribute__((weak)) uint64_t getArduinoSetupWaitTick(void) {
48
+ return 0;
49
+}
50
+
51
void loopTask(void *pvParameters) {
52
#if !defined(NO_GLOBAL_INSTANCES) && !defined(NO_GLOBAL_SERIAL)
53
// sets UART0 (default console) RX/TX pins as already configured in boot or as defined in variants/pins_arduino.h
54
Serial0.setPins(gpioNumberToDigitalPin(SOC_RX0), gpioNumberToDigitalPin(SOC_TX0));
55
+ vTaskDelay(getArduinoSetupWaitTick());
56
#endif
57
#if ARDUHAL_LOG_LEVEL >= ARDUHAL_LOG_LEVEL_DEBUG
58
printBeforeSetupInfo();
0 commit comments