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:
- 91:112921e467db
- Parent:
- 89:c0dbd55614b2
- Child:
- 92:8c1553b39b03
--- a/nRF51GattServer.cpp	Wed Jan 21 10:01:16 2015 +0000
+++ b/nRF51GattServer.cpp	Wed Jan 21 10:01:16 2015 +0000
@@ -304,7 +304,7 @@
     }
 
     /* Find index (charHandle) in the pool */
-    for (uint8_t i = 0; i<characteristicCount; i++) {
+    for (uint8_t i = 0; i < characteristicCount; i++) {
         if (nrfCharacteristicHandles[i].value_handle == handle_value) {
             switch (eventType) {
                 case GattServerEvents::GATT_EVENT_DATA_WRITTEN: {