mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-12 19:13:36 +00:00
nrf5x: hunting deadlock
This commit is contained in:
parent
666f0f1a25
commit
f0c05fddac
@ -267,6 +267,7 @@ void RADIO_IRQHandler(void){
|
||||
|
||||
// check if outgoing buffer available
|
||||
if (hci_outgoing_event_free){
|
||||
hci_outgoing_event_free = 0;
|
||||
int len = rx_adv_buffer[1] & 0x3f;
|
||||
hci_outgoing_event[0] = HCI_EVENT_LE_META;
|
||||
hci_outgoing_event[1] = 11 + len - 6;
|
||||
@ -282,9 +283,9 @@ void RADIO_IRQHandler(void){
|
||||
} else {
|
||||
// ... for now, we just throw the adv away and try to receive the next one
|
||||
}
|
||||
// restart receiving
|
||||
NRF_RADIO->TASKS_START = 1;
|
||||
}
|
||||
// restart receiving
|
||||
NRF_RADIO->TASKS_START = 1;
|
||||
}
|
||||
|
||||
static uint8_t random_generator_next(void){
|
||||
|
Loading…
x
Reference in New Issue
Block a user