Clone of the nRF51822 repository from github The correct home is https://github.com/lancaster-university/nRF51822

Dependencies:   nrf51-sdk

Dependents:   microbit-dal microbit-ble-open microbit-dal-eddystone microbit-dal-ble-accelerometer-example ... more

Revision:
160:7d04579fdb2a
Parent:
153:3397d1bc1ab1
Child:
161:6712855a0107
--- a/btle/btle.cpp	Fri May 08 15:33:59 2015 +0100
+++ b/btle/btle.cpp	Fri May 08 15:33:59 2015 +0100
@@ -166,36 +166,17 @@
     nRF51GattServer::getInstance().hwCallback(p_ble_evt);
 }
 
-/**************************************************************************/
-/*!
-    @brief      Callback when an error occurs inside the SoftDevice
-
-    @param[in]  line_num
-    @param[in]  p-file_name
-
-    @returns
-*/
-/**************************************************************************/
+/*! @brief      Callback when an error occurs inside the SoftDevice */
 void assert_nrf_callback(uint16_t line_num, const uint8_t *p_file_name)
 {
     ASSERT(false, (void) 0);
 }
 
-/**************************************************************************/
 /*!
     @brief      Handler for general errors above the SoftDevice layer.
                 Typically we can' recover from this so we do a reset.
-
-    @param[in]  error_code
-    @param[in]  line_num
-    @param[in]  p-file_name
-
-    @returns
 */
-/**************************************************************************/
-void app_error_handler(uint32_t       error_code,
-                       uint32_t       line_num,
-                       const uint8_t *p_file_name)
+void app_error_handler(uint32_t error_code, uint32_t line_num, const uint8_t *p_file_name)
 {
     ASSERT_STATUS_RET_VOID( error_code );
     NVIC_SystemReset();