File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -1120,17 +1120,9 @@ int log_printfv(const char *format, va_list arg) {
1120
1120
}
1121
1121
#endif
1122
1122
*/
1123
- #if ARDUINO_LOG_FORCE_ETS_PRINTF == 1 || (ARDUINO_USB_CDC_ON_BOOT == 1 && ARDUINO_USB_MODE == 0 ) || CONFIG_IDF_TARGET_ESP32C3 \
1124
- || ((CONFIG_IDF_TARGET_ESP32H2 || CONFIG_IDF_TARGET_ESP32C6 || CONFIG_IDF_TARGET_ESP32P4 ) && ARDUINO_USB_CDC_ON_BOOT == 1 )
1125
1123
vsnprintf (temp , len + 1 , format , arg );
1126
1124
ets_printf ("%s" , temp );
1127
- #else
1128
- int wlen = vsnprintf (temp , len + 1 , format , arg );
1129
- for (int i = 0 ; i < wlen ; i ++ ) {
1130
- ets_write_char_uart (temp [i ]);
1131
- }
1132
- #endif
1133
- /*
1125
+ /*
1134
1126
// This causes dead locks with logging and also with constructors that may send logs
1135
1127
#if !CONFIG_DISABLE_HAL_LOCKS
1136
1128
if(s_uart_debug_nr != -1 && _uart_bus_array[s_uart_debug_nr].lock){
You can’t perform that action at this time.
0 commit comments