ble nano hid over gatt

Dependencies:   BLE_API mbed-dev nRF51822

Revision:
6:f1c3ea8bc850
Parent:
5:65d4e94735b6
Child:
7:b9270a37345b
--- a/KeyboardService.h	Thu Jul 21 00:38:09 2016 +0900
+++ b/KeyboardService.h	Thu Jul 21 01:25:31 2016 +0900
@@ -95,6 +95,10 @@
 			reportTickerDelay   = 24
 		)
 	{
+		for (int i = 0; i < 8; i++) {
+			inputReportData.raw[i] = 0;
+		}
+		outputReportData.raw[0] = 0;
 	}
 
 	void appendReportData(uint8_t keycode) {