File tree 2 files changed +5
-7
lines changed
2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -200,8 +200,8 @@ uint16_t makeWord(uint8_t h, uint8_t l);
200
200
size_t getArduinoLoopTaskStackSize (void );
201
201
#define SET_LOOP_TASK_STACK_SIZE (sz ) size_t getArduinoLoopTaskStackSize () { return sz;}
202
202
203
- bool shouldPrintChipDebugInfo (void );
204
- #define ENABLE_CHIP_DEBUG_INFO bool shouldPrintChipDebugInfo (void ){return true ;}
203
+ bool shouldPrintChipDebugReport (void );
204
+ #define ENABLE_CHIP_DEBUG_REPORT bool shouldPrintChipDebugReport (void ){return true ;}
205
205
206
206
// allows user to bypass esp_spiram_test()
207
207
bool esp_psram_extram_test (void );
Original file line number Diff line number Diff line change 9
9
#endif
10
10
#endif
11
11
12
- #if ARDUHAL_LOG_LEVEL >= ARDUHAL_LOG_LEVEL_INFO
13
12
#include " chip-debug-report.h"
14
- #endif
15
13
16
14
#ifndef ARDUINO_LOOP_STACK_SIZE
17
15
#ifndef CONFIG_ARDUINO_LOOP_STACK_SIZE
@@ -41,7 +39,7 @@ __attribute__((weak)) size_t getArduinoLoopTaskStackSize(void) {
41
39
return ARDUINO_LOOP_STACK_SIZE;
42
40
}
43
41
44
- __attribute__ ((weak)) bool shouldPrintChipDebugInfo (void ) {
42
+ __attribute__ ((weak)) bool shouldPrintChipDebugReport (void ) {
45
43
return false ;
46
44
}
47
45
@@ -50,15 +48,15 @@ void loopTask(void *pvParameters)
50
48
#if ARDUHAL_LOG_LEVEL >= ARDUHAL_LOG_LEVEL_DEBUG
51
49
printBeforeSetupInfo ();
52
50
#else
53
- if (shouldPrintChipDebugInfo ()){
51
+ if (shouldPrintChipDebugReport ()){
54
52
printBeforeSetupInfo ();
55
53
}
56
54
#endif
57
55
setup ();
58
56
#if ARDUHAL_LOG_LEVEL >= ARDUHAL_LOG_LEVEL_DEBUG
59
57
printAfterSetupInfo ();
60
58
#else
61
- if (shouldPrintChipDebugInfo ()){
59
+ if (shouldPrintChipDebugReport ()){
62
60
printAfterSetupInfo ();
63
61
}
64
62
#endif
You can’t perform that action at this time.
0 commit comments