btstack_uart: add NULL for SLIP function in existing uart implementations (avoid warnings)

This commit is contained in:
Matthias Ringwald 2021-03-10 10:03:58 +01:00
parent 8e2b5d88cf
commit cf159062a6
5 changed files with 6 additions and 1 deletions

View File

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

View File

@ -168,6 +168,7 @@ static const btstack_uart_block_t btstack_uart_block_freertos = {
/* 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,
NULL, NULL, NULL, NULL,
};
const btstack_uart_block_t * btstack_uart_block_freertos_instance(void){

View File

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

View File

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

View File

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