diff --git a/porting/nimble/src/nimble_port.c b/porting/nimble/src/nimble_port.c index ca73241eb..ae08514fd 100644 --- a/porting/nimble/src/nimble_port.c +++ b/porting/nimble/src/nimble_port.c @@ -211,7 +211,7 @@ nimble_port_init(void) return ret; } -#if (BT_HCI_LOG_INCLUDED == TRUE) +#if MYNEWT_VAL(BT_HCI_LOG_INCLUDED) bt_hci_log_init(); #endif // (BT_HCI_LOG_INCLUDED == TRUE)