Patched version of nrf51822 FOTA compatible driver, with GPTIO disabled, as it clashed with the mbed definitions...

Fork of nRF51822 by Nordic Semiconductor

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),