BLE uart transport: Add text to sysinit panic.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/70191424 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/70191424 Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/70191424 Branch: refs/heads/nrf_cputime Commit: 70191424871b916134ff9829d59bb12075790de9 Parents: eddcf8f Author: Christopher Collins <[email protected]> Authored: Tue Mar 7 17:19:15 2017 -0800 Committer: Christopher Collins <[email protected]> Committed: Tue Mar 28 16:58:41 2017 -0700 ---------------------------------------------------------------------- net/nimble/transport/uart/src/ble_hci_uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/70191424/net/nimble/transport/uart/src/ble_hci_uart.c ---------------------------------------------------------------------- diff --git a/net/nimble/transport/uart/src/ble_hci_uart.c b/net/nimble/transport/uart/src/ble_hci_uart.c index b1ffd8a..6584112 100755 --- a/net/nimble/transport/uart/src/ble_hci_uart.c +++ b/net/nimble/transport/uart/src/ble_hci_uart.c @@ -1021,7 +1021,7 @@ ble_hci_uart_init(void) SYSINIT_PANIC_ASSERT(rc == 0); rc = ble_hci_uart_config(); - SYSINIT_PANIC_ASSERT(rc == 0); + SYSINIT_PANIC_ASSERT_MSG(rc == 0, "Failure configuring UART HCI"); memset(&ble_hci_uart_state, 0, sizeof ble_hci_uart_state); STAILQ_INIT(&ble_hci_uart_state.tx_pkts);
