From 4267179b676fde95749db5588e417eda96e4195b Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Wed, 28 Aug 2024 16:10:32 -0500 Subject: [PATCH] espressif: Remove the debug printf adapter this caused problems. Closes #9406 --- ports/espressif/supervisor/port.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/ports/espressif/supervisor/port.c b/ports/espressif/supervisor/port.c index 0b39302675bc2..3288ec5c724a2 100644 --- a/ports/espressif/supervisor/port.c +++ b/ports/espressif/supervisor/port.c @@ -489,16 +489,6 @@ 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); -} - -void port_serial_early_init(void) { - esp_log_set_vprintf(vprintf_adapter); -} -#endif - // Wrap main in app_main that the IDF expects. extern void main(void); extern void app_main(void);