mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-10-22 04:37:55 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user