esp32: fix build

This commit is contained in:
Matthias Ringwald 2023-04-04 12:21:58 +02:00
parent d4452ed786
commit 2f9d0a2a70

View File

@ -79,6 +79,8 @@ static void (*stdin_handler)(char c);
#define TX_BUF_SIZE (4096)
static QueueHandle_t uart_queue = NULL;
static bool btstack_stdio_initialized;
static void btstack_stdio_process(void *context);
static btstack_context_callback_registration_t stdio_callback_context = {
@ -191,6 +193,8 @@ void btstack_stdio_init() {
//Create a task to block on UART RX
xTaskCreate(btstack_stdio_task, "btstack_stdio", 2048, NULL, 12, NULL);
btstack_stdio_initialized = true;
}
void btstack_stdin_setup(void (*handler)(char c)){