Nordic stack and drivers for the mbed BLE API
Fork of nRF51822 by
Diff: btle/custom/custom_helper.cpp
- Revision:
- 157:0fa76927dcfe
- Parent:
- 156:8e97c41fd7ab
diff -r 8e97c41fd7ab -r 0fa76927dcfe btle/custom/custom_helper.cpp --- 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; }; }