esp32: add new set_wakeup_handler to btstack uart block freertos

This commit is contained in:
Matthias Ringwald 2017-05-05 11:34:14 +02:00
parent 5f209a26d8
commit f953952c6e

View File

@ -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){