Unverified Commit 57e8e50e authored by Clemens Kirchgatterer's avatar Clemens Kirchgatterer Committed by GitHub

Fix compilation when NO_GLOBAL_SERIAL is defined. (#8933)

parent db7b3495
......@@ -45,8 +45,10 @@ __attribute__((weak)) bool shouldPrintChipDebugReport(void) {
void loopTask(void *pvParameters)
{
#if !defined(NO_GLOBAL_INSTANCES) && !defined(NO_GLOBAL_SERIAL)
// sets UART0 (default console) RX/TX pins as already configured in boot or as defined in variants/pins_arduino.h
Serial0.setPins(SOC_RX0, SOC_TX0);
#endif
#if ARDUHAL_LOG_LEVEL >= ARDUHAL_LOG_LEVEL_DEBUG
printBeforeSetupInfo();
#else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment