count button events
[pulsecounter.git] / Pulsecounter-Prog.c
index 1507b24fea482d97b2a56ddee915e754b90a8f79..266edb73fd12e66c81504035a7d1e9b5ebc0a5a0 100644 (file)
@@ -28,7 +28,7 @@ void Pulsecounter_disconnectHandler(void) {
 }\r
 \r
 void Pulsecounter_event3_fetch(Pulsecounter_event3_t* const output) {\r
-    *output = 3;\r
+    *output = buttonCnt;\r
 }\r
 \r
 void Pulsecounter_event4_fetch(Pulsecounter_event4_t* const output) {\r