From 7f66410546f5c4aaa3a1813c19829154583aeb88 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Tue, 4 Apr 2023 12:07:07 +0200 Subject: [PATCH] esp32: call btstack_stdio_init from application templates --- port/esp32/template/main/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/port/esp32/template/main/main.c b/port/esp32/template/main/main.c index ad2526368..ef3823ff6 100644 --- a/port/esp32/template/main/main.c +++ b/port/esp32/template/main/main.c @@ -40,6 +40,7 @@ #include "btstack_port_esp32.h" #include "btstack_run_loop.h" +#include "btstack_stdio_esp32.h" #include "hci_dump.h" #include "hci_dump_embedded_stdout.h" @@ -66,6 +67,9 @@ int app_main(void){ // optional: enable packet logger // hci_dump_init(hci_dump_embedded_stdout_get_instance()); + // Enable buffered stdout + btstack_stdio_init(); + // Configure BTstack for ESP32 VHCI Controller btstack_init();