mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-03 23:47:08 +00:00
btstack_uart_posix: abort requested read/write operation on set read/write complete handler
This commit is contained in:
parent
0dedcb9780
commit
efc1df5575
@ -372,10 +372,12 @@ static int btstack_uart_posix_close_new(void){
|
||||
}
|
||||
|
||||
static void btstack_uart_posix_set_block_received( void (*block_handler)(void)){
|
||||
btstack_uart_block_read_bytes_len = 0;
|
||||
block_received = block_handler;
|
||||
}
|
||||
|
||||
static void btstack_uart_posix_set_block_sent( void (*block_handler)(void)){
|
||||
btstack_uart_block_write_bytes_len = 0;
|
||||
block_sent = block_handler;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user