Skip to content

Commit 592ba9e

Browse files
committed
change scan_start error check to one that'll report the error without rebooting the device
1 parent f2b0735 commit 592ba9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/nrf5x/bluetooth.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1567,7 +1567,7 @@ static void ble_evt_handler(ble_evt_t const * p_ble_evt, void * p_context) {
15671567
#if NRF_SD_BLE_API_VERSION>5
15681568
// On new APIs we need to continue scanning
15691569
err_code = sd_ble_gap_scan_start(NULL, &m_scan_buffer);
1570-
APP_ERROR_CHECK(err_code);
1570+
APP_ERROR_CHECK_NOT_URGENT(err_code);
15711571
#endif
15721572
break;
15731573
}

0 commit comments

Comments
 (0)