fix vprintf_adapter build error
This commit is contained in:
parent
9dcc0b5056
commit
7dbf9a9b56
@ -541,11 +541,11 @@ void port_post_boot_py(bool heap_valid) {
|
||||
}
|
||||
|
||||
|
||||
#if CIRCUITPY_CONSOLE_UART
|
||||
static int vprintf_adapter(const char *fmt, va_list ap) {
|
||||
return mp_vprintf(&mp_plat_print, fmt, ap);
|
||||
}
|
||||
|
||||
#if CIRCUITPY_CONSOLE_UART
|
||||
void port_serial_early_init(void) {
|
||||
esp_log_set_vprintf(vprintf_adapter);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user