diff options
author | JF <jf@codingfield.com> | 2020-04-04 17:41:21 +0200 |
---|---|---|
committer | JF <jf@codingfield.com> | 2020-04-04 17:41:21 +0200 |
commit | d564b3cf1565f9836a1aa6cc8dfea958c2d0cbf9 (patch) | |
tree | d907c3dea2319b0b64b918786b83991099ece929 /src/BLE/BleManager.c | |
parent | 211e9795e05354b25455ab83e0b8be234ac3900c (diff) |
Fix crash when the computer disconnect from the BLE connection.
Diffstat (limited to 'src/BLE/BleManager.c')
-rw-r--r-- | src/BLE/BleManager.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/BLE/BleManager.c b/src/BLE/BleManager.c index a6152eb4..8caf120a 100644 --- a/src/BLE/BleManager.c +++ b/src/BLE/BleManager.c @@ -552,7 +552,6 @@ void on_ans_c_evt(ble_ans_c_evt_t * p_evt) NRF_LOG_INFO("[ANS] ANS : disconnecting from server"); m_new_alert_state = ALERT_NOTIFICATION_DISABLED; m_unread_alert_state = ALERT_NOTIFICATION_DISABLED; - APP_ERROR_CHECK(err_code); break; // BLE_ANS_C_EVT_DISCONN_COMPLETE default: |