nimble/ll: Fix HCI event on assert

We should use new syscfg in BLE_LL_ASSERT macro definition.
Also let's use value of old syscfg as default value for new one since
the old one is deprecated, not defunct (yet).
This commit is contained in:
Andrzej Kaczmarek
2022-01-26 22:26:55 +01:00
parent d020a20d80
commit 0aa6ed4cf5
2 changed files with 2 additions and 2 deletions
@@ -39,7 +39,7 @@ extern "C" {
#error 32.768kHz clock required
#endif
#if defined(MYNEWT) && MYNEWT_VAL(BLE_LL_VND_EVENT_ON_ASSERT)
#if defined(MYNEWT) && MYNEWT_VAL(BLE_LL_HCI_VS_EVENT_ON_ASSERT)
#ifdef NDEBUG
#define BLE_LL_ASSERT(cond) (void(0))
#else
+1 -1
View File
@@ -375,7 +375,7 @@ syscfg.defs:
This options enables controller to send a vendor-specific event on
an assertion in controller code. The event contains file name and
line number where assertion occured.
value: 0
value: MYNEWT_VAL(BLE_LL_VND_EVENT_ON_ASSERT)
BLE_LL_PA:
description: Enable PA support