btstack_uart_block_embedded: use boolean in conditions

This commit is contained in:
Matthias Ringwald 2023-12-05 12:23:48 +01:00
parent c7bead4678
commit 16e19888bb

View File

@ -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();
}
}