From f953952c6efefa0d2e87171c98c638f83d52952d Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 5 May 2017 11:34:14 +0200 Subject: [PATCH] esp32: add new set_wakeup_handler to btstack uart block freertos --- platform/freertos/btstack_uart_block_freertos.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/freertos/btstack_uart_block_freertos.c b/platform/freertos/btstack_uart_block_freertos.c index 8c2d17643..e251fb535 100644 --- a/platform/freertos/btstack_uart_block_freertos.c +++ b/platform/freertos/btstack_uart_block_freertos.c @@ -145,7 +145,8 @@ static const btstack_uart_block_t btstack_uart_block_freertos = { /* void (*receive_block)(uint8_t *buffer, uint16_t len); */ &hal_uart_dma_receive_block, /* void (*send_block)(const uint8_t *buffer, uint16_t length); */ &hal_uart_dma_send_block, /* int (*get_supported_sleep_modes); */ NULL, - /* void (*set_sleep)(btstack_uart_sleep_mode_t sleep_mode); */ NULL + /* void (*set_sleep)(btstack_uart_sleep_mode_t sleep_mode); */ NULL, + /* void (*set_wakeup_handler)(void (*wakeup_handler)(void)); */ NULL, }; const btstack_uart_block_t * btstack_uart_block_freertos_instance(void){