Bluetooth: controller: Add missing debug pin toggle

Add missing debug pin toggle on abort of connection event.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2020-09-29 15:07:26 +05:30 committed by Ioannis Glaropoulos
commit d64bbd5a06
2 changed files with 2 additions and 0 deletions

View file

@ -744,6 +744,7 @@ void ull_master_ticker_cb(uint32_t ticks_at_expire, uint32_t remainder, uint16_t
/* Handle any LL Control Procedures */
ret = ull_conn_llcp(conn, ticks_at_expire, lazy);
if (ret) {
DEBUG_RADIO_PREPARE_M(0);
return;
}
}

View file

@ -391,6 +391,7 @@ void ull_slave_ticker_cb(uint32_t ticks_at_expire, uint32_t remainder,
/* Handle any LL Control Procedures */
ret = ull_conn_llcp(conn, ticks_at_expire, lazy);
if (ret) {
DEBUG_RADIO_PREPARE_S(0);
return;
}
}