1 /* 2 * Copyright (c) 2016 Nordic Semiconductor ASA 3 * Copyright (c) 2016 Vinayak Kariappa Chettimada 4 * 5 * SPDX-License-Identifier: Apache-2.0 6 */ 7 8 #ifdef CONFIG_BT_CTLR_ASSERT_HANDLER 9 void bt_ctlr_assert_handle(char *file, uint32_t line); 10 #define LL_ASSERT(cond) if (!(cond)) { \ 11 bt_ctlr_assert_handle(__FILE__, \ 12 __LINE__); \ 13 } 14 #else 15 #define LL_ASSERT(cond) BT_ASSERT(cond) 16 #endif 17 18 #include "hal/debug_vendor_hal.h" 19