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:
157:0fa76927dcfe
Parent:
156:8e97c41fd7ab
Child:
186:d0fc349b9a1b
--- a/btle/custom/custom_helper.cpp	Fri May 08 15:33:58 2015 +0100
+++ b/btle/custom/custom_helper.cpp	Fri May 08 15:33:58 2015 +0100
@@ -261,6 +261,8 @@
             case Gap::SECURITY_MODE_SIGNED_WITH_MITM :
                 BLE_GAP_CONN_SEC_MODE_SET_SIGNED_WITH_MITM(&attr_md.read_perm);
                 break;
+            default:
+                break;
         };
     }
 
@@ -281,6 +283,8 @@
             case Gap::SECURITY_MODE_SIGNED_WITH_MITM :
                 BLE_GAP_CONN_SEC_MODE_SET_SIGNED_WITH_MITM(&attr_md.write_perm);
                 break;
+            default:
+                break;
         };
     }