mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-11 18:40:22 +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)
|
#define TX_BUF_SIZE (4096)
|
||||||
static QueueHandle_t uart_queue = NULL;
|
static QueueHandle_t uart_queue = NULL;
|
||||||
|
|
||||||
|
static bool btstack_stdio_initialized;
|
||||||
|
|
||||||
static void btstack_stdio_process(void *context);
|
static void btstack_stdio_process(void *context);
|
||||||
|
|
||||||
static btstack_context_callback_registration_t stdio_callback_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
|
//Create a task to block on UART RX
|
||||||
xTaskCreate(btstack_stdio_task, "btstack_stdio", 2048, NULL, 12, NULL);
|
xTaskCreate(btstack_stdio_task, "btstack_stdio", 2048, NULL, 12, NULL);
|
||||||
|
|
||||||
|
btstack_stdio_initialized = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void btstack_stdin_setup(void (*handler)(char c)){
|
void btstack_stdin_setup(void (*handler)(char c)){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user