From 16e19888bbb4c4d225e5fab934b1726b9d86821a Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Tue, 5 Dec 2023 12:23:48 +0100 Subject: [PATCH] btstack_uart_block_embedded: use boolean in conditions --- platform/embedded/btstack_uart_block_embedded.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/embedded/btstack_uart_block_embedded.c b/platform/embedded/btstack_uart_block_embedded.c index aab02929b..b0ed526a8 100644 --- a/platform/embedded/btstack_uart_block_embedded.c +++ b/platform/embedded/btstack_uart_block_embedded.c @@ -97,7 +97,7 @@ static void btstack_uart_embedded_process(btstack_data_source_t *ds, btstack_dat case DATA_SOURCE_CALLBACK_POLL: if (send_complete){ send_complete = false; - if (block_sent !+ NULL){ + if (block_sent != NULL){ block_sent(); } } @@ -109,7 +109,7 @@ static void btstack_uart_embedded_process(btstack_data_source_t *ds, btstack_dat } if (wakeup_event){ wakeup_event = false; - if (wakeup_handler !=){ + if (wakeup_handler != NULL){ wakeup_handler(); } }