mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-30 06:32:43 +00:00
esp32: fix build
This commit is contained in:
parent
d4452ed786
commit
2f9d0a2a70
@ -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)){
|
||||
|
Loading…
x
Reference in New Issue
Block a user