diff --git a/samples/bluetooth/hci_rpmsg/src/main.c b/samples/bluetooth/hci_rpmsg/src/main.c index d328dc28718..536bbda1243 100644 --- a/samples/bluetooth/hci_rpmsg/src/main.c +++ b/samples/bluetooth/hci_rpmsg/src/main.c @@ -12,7 +12,6 @@ #include #include #include -#include #include #include @@ -30,9 +29,9 @@ #include #include -#define LOG_LEVEL LOG_LEVEL_INFO +#define BT_DBG_ENABLED 0 #define LOG_MODULE_NAME hci_rpmsg -LOG_MODULE_REGISTER(LOG_MODULE_NAME); +#include "common/log.h" static int endpoint_id; @@ -234,7 +233,7 @@ static int hci_rpmsg_send(struct net_buf *buf) #if defined(CONFIG_BT_CTLR_ASSERT_HANDLER) void bt_ctlr_assert_handle(char *file, uint32_t line) { - LOG_ERR("Controller assert in: %s at %d", file, line); + BT_ASSERT_MSG(false, "Controller assert in: %s at %d", file, line); } #endif /* CONFIG_BT_CTLR_ASSERT_HANDLER */