diff --git a/porting/nimble/src/nimble_port.c b/porting/nimble/src/nimble_port.c index 904bb3066..01c6b2de5 100644 --- a/porting/nimble/src/nimble_port.c +++ b/porting/nimble/src/nimble_port.c @@ -183,7 +183,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)