summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tuer-rfid/manual.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tuer-rfid/manual.c b/tuer-rfid/manual.c
index b204d0c..6d338ba 100644
--- a/tuer-rfid/manual.c
+++ b/tuer-rfid/manual.c
@@ -22,6 +22,7 @@
*/
#include <avr/io.h>
+#include <stdio.h>
#include "manual.h"
#include "eventqueue.h"
@@ -50,8 +51,10 @@ void manual_task(void)
lp_cnt += lp_cnt ? -1 : 0;
if(lp_cnt >= MANUAL_LP_MAX) {
- if(!state)
+ if(!state) {
eventqueue_push(btn_toggle);
+ printf("Info(manual): manual button has been pressed\r\n");
+ }
last_state = state;
lp_cnt = 0;
}