Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of nRF51822 by
Diff: btle/btle.cpp
- Revision:
- 160:7d04579fdb2a
- Parent:
- 153:3397d1bc1ab1
- Child:
- 161:6712855a0107
diff -r 22a551904ffc -r 7d04579fdb2a btle/btle.cpp --- 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();