Skip to content

Commit 08249c5

Browse files
committed
Fix CORE_DEBUG_LEVEL undefined in PIO
1 parent 53e7ba8 commit 08249c5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: cores/esp32/chip-debug-report.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,9 @@ static void printBoardInfo(void){
215215
#ifdef ARDUINO_FQBN
216216
log_printf(" Arduino FQBN : %s\n", ARDUINO_FQBN);
217217
#else
218+
#ifdef CORE_DEBUG_LEVEL
218219
log_printf(" Core Debug Level : %d\n", CORE_DEBUG_LEVEL);
220+
#endif
219221
#ifdef ARDUINO_RUNNING_CORE
220222
log_printf(" Arduino Runs Core : %d\n", ARDUINO_RUNNING_CORE);
221223
log_printf(" Arduino Events on : %d\n", ARDUINO_EVENT_RUNNING_CORE);

0 commit comments

Comments
 (0)