diff --git a/platform/embedded/btstack_uart_block_embedded.c b/platform/embedded/btstack_uart_block_embedded.c index 2ceafcf9a..4398cd150 100644 --- a/platform/embedded/btstack_uart_block_embedded.c +++ b/platform/embedded/btstack_uart_block_embedded.c @@ -202,6 +202,7 @@ static const btstack_uart_block_t btstack_uart_embedded = { /* int (*get_supported_sleep_modes); */ &btstack_uart_embedded_get_supported_sleep_modes, /* void (*set_sleep)(btstack_uart_sleep_mode_t sleep_mode); */ &btstack_uart_embedded_set_sleep, /* void (*set_wakeup_handler)(void (*handler)(void)); */ &btstack_uart_embedded_set_wakeup_handler, + NULL, NULL, NULL, NULL, }; const btstack_uart_block_t * btstack_uart_block_embedded_instance(void){ diff --git a/platform/freertos/btstack_uart_block_freertos.c b/platform/freertos/btstack_uart_block_freertos.c index eeba24e49..9ba61fb89 100644 --- a/platform/freertos/btstack_uart_block_freertos.c +++ b/platform/freertos/btstack_uart_block_freertos.c @@ -167,7 +167,8 @@ static const btstack_uart_block_t btstack_uart_block_freertos = { /* 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_wakeup_handler)(void (*wakeup_handler)(void)); */ NULL, + /* void (*set_wakeup_handler)(void (*wakeup_handler)(void)); */ NULL, + NULL, NULL, NULL, NULL, }; const btstack_uart_block_t * btstack_uart_block_freertos_instance(void){ diff --git a/platform/wiced/btstack_uart_block_wiced.c b/platform/wiced/btstack_uart_block_wiced.c index c3e7c2007..d9e65c71b 100644 --- a/platform/wiced/btstack_uart_block_wiced.c +++ b/platform/wiced/btstack_uart_block_wiced.c @@ -378,6 +378,7 @@ static const btstack_uart_block_t btstack_uart_block_wiced = { /* int (*get_supported_sleep_modes); */ NULL, /* void (*set_sleep)(btstack_uart_sleep_mode_t sleep_mode); */ NULL, /* void (*set_wakeup_handler)(void (*handler)(void)); */ NULL, + NULL, NULL, NULL, NULL, }; const btstack_uart_block_t * btstack_uart_block_wiced_instance(void){ diff --git a/platform/windows/btstack_uart_block_windows.c b/platform/windows/btstack_uart_block_windows.c index 48eb929d5..a9b11f841 100644 --- a/platform/windows/btstack_uart_block_windows.c +++ b/platform/windows/btstack_uart_block_windows.c @@ -471,6 +471,7 @@ static const btstack_uart_block_t btstack_uart_windows = { /* int (*get_supported_sleep_modes); */ NULL, /* void (*set_sleep)(btstack_uart_sleep_mode_t sleep_mode); */ NULL, /* void (*set_wakeup_handler)(void (*handler)(void)); */ NULL, + NULL, NULL, NULL, NULL, }; const btstack_uart_block_t * btstack_uart_block_windows_instance(void){ diff --git a/test/mesh/btstack_uart_posix_pty.c b/test/mesh/btstack_uart_posix_pty.c index a0de76430..9936faeee 100644 --- a/test/mesh/btstack_uart_posix_pty.c +++ b/test/mesh/btstack_uart_posix_pty.c @@ -408,6 +408,7 @@ static const btstack_uart_block_t btstack_uart_posix = { /* int (*get_supported_sleep_modes); */ NULL, /* void (*set_sleep)(btstack_uart_sleep_mode_t sleep_mode); */ NULL, /* void (*set_wakeup_handler)(void (*handler)(void)); */ NULL, + NULL, NULL, NULL, NULL, }; const btstack_uart_block_t * btstack_uart_posix_instance(void){