diff --git a/platform/embedded/btstack_uart_block_embedded.c b/platform/embedded/btstack_uart_block_embedded.c index ca5590d1d..092cadca7 100644 --- a/platform/embedded/btstack_uart_block_embedded.c +++ b/platform/embedded/btstack_uart_block_embedded.c @@ -85,8 +85,8 @@ static void btstack_uart_embedded_process(btstack_data_source_t *ds, btstack_dat send_complete = 0; block_sent(); } - if (block_received){ - block_received = 0; + if (receive_complete){ + receive_complete = 0; block_received(); } break;