mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-30 07:21:20 +00:00
btstack_uart: add NULL for SLIP function in existing uart implementations (avoid warnings)
This commit is contained in:
parent
8e2b5d88cf
commit
cf159062a6
@ -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){
|
||||
|
@ -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){
|
||||
|
@ -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){
|
||||
|
@ -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){
|
||||
|
@ -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){
|
||||
|
Loading…
x
Reference in New Issue
Block a user