Press buttons to activate the LED.

Dependencies:   BLE_API nRF51822

Fork of Puck by Nordic Pucks

Revision:
13:93d3574e9e36
Parent:
12:8a8cc109f048
Child:
14:9eda2d99fc1d
--- a/Puck.h	Tue Aug 05 08:34:51 2014 +0000
+++ b/Puck.h	Mon Aug 11 09:42:01 2014 +0000
@@ -82,13 +82,12 @@
     return _puckSingletonInstance;
 }
 
-
-void onDisconnection(void) {
+void onDisconnection(Gap::Handle_t handle) {
     LOG_INFO("Disconnected.\n");
     Puck::getPuck().setState(DISCONNECTED);
 }
 
-void onConnection(void) {
+void onConnection(Gap::Handle_t handle) {
     LOG_INFO("Connected.\n");
     Puck::getPuck().setState(CONNECTED);
 }