File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -50,19 +50,19 @@ __attribute__((weak)) uint64_t getArduinoSetupWaitTime_ms(void) {
50
50
}
51
51
52
52
void loopTask (void *pvParameters) {
53
- #if !defined(NO_GLOBAL_INSTANCES) && !defined(NO_GLOBAL_SERIAL)
54
- // sets UART0 (default console) RX/TX pins as already configured in boot or as defined in variants/pins_arduino.h
55
- Serial0.setPins (gpioNumberToDigitalPin (SOC_RX0), gpioNumberToDigitalPin (SOC_TX0));
56
- // time in ms that the sketch may wait before starting its execution - default is zero
57
- // usually done for opening the Serial Monitor and seeing all debug messages
58
53
delay (getArduinoSetupWaitTime_ms ());
59
- #endif
60
54
#if ARDUHAL_LOG_LEVEL >= ARDUHAL_LOG_LEVEL_DEBUG
61
55
printBeforeSetupInfo ();
62
56
#else
63
57
if (shouldPrintChipDebugReport ()) {
64
58
printBeforeSetupInfo ();
65
59
}
60
+ #endif
61
+ #if !defined(NO_GLOBAL_INSTANCES) && !defined(NO_GLOBAL_SERIAL)
62
+ // sets UART0 (default console) RX/TX pins as already configured in boot or as defined in variants/pins_arduino.h
63
+ Serial0.setPins (gpioNumberToDigitalPin (SOC_RX0), gpioNumberToDigitalPin (SOC_TX0));
64
+ // time in ms that the sketch may wait before starting its execution - default is zero
65
+ // usually done for opening the Serial Monitor and seeing all debug messages
66
66
#endif
67
67
setup ();
68
68
#if ARDUHAL_LOG_LEVEL >= ARDUHAL_LOG_LEVEL_DEBUG
You can’t perform that action at this time.
0 commit comments