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.
Dependencies: nrf51-sdk
Dependents: microbit-dal microbit-ble-open microbit-dal-eddystone microbit-dal-ble-accelerometer-example ... more
Diff: nRF51GattServer.cpp
- Revision:
- 89:c0dbd55614b2
- Parent:
- 88:fdb2b0db620e
- Child:
- 91:112921e467db
--- a/nRF51GattServer.cpp	Wed Jan 21 10:01:16 2015 +0000
+++ b/nRF51GattServer.cpp	Wed Jan 21 10:01:16 2015 +0000
@@ -214,14 +214,12 @@
                         BLE_ERROR_PARAM_OUT_OF_RANGE );
         }
 
-        /*  Notifications consume application buffers. The return value can 
+        /*  Notifications consume application buffers. The return value can
             be used for resending notifications.
         */
-        if (error != ERROR_NONE)
-        {
+        if (error != ERROR_NONE) {
             returnValue = BLE_STACK_BUSY;
         }
-
     } else {
         ASSERT_INT( ERROR_NONE,
                     sd_ble_gatts_value_set(nrfCharacteristicHandles[charHandle].value_handle, 0, &len, buffer),