summaryrefslogtreecommitdiff
path: root/keyboard
diff options
context:
space:
mode:
authorYuval Adam <yuval@y3xz.com>2016-03-26 12:40:55 +0300
committerYuval Adam <yuval@y3xz.com>2016-03-26 12:40:55 +0300
commit06af8185e2fa982d8a6335b1c99d25ca8306afb0 (patch)
tree3aadba844b177bab03535f58760b2891ce95df83 /keyboard
parent5a3c24f09ab0c3797b8d856647a8da91b00123ff (diff)
Ignore button switch for now
Diffstat (limited to 'keyboard')
-rw-r--r--keyboard/keyboard.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/keyboard/keyboard.c b/keyboard/keyboard.c
index 2e13bd6..be183a8 100644
--- a/keyboard/keyboard.c
+++ b/keyboard/keyboard.c
@@ -150,6 +150,9 @@ int main() {
wdt_reset(); // keep the watchdog happy
usbPoll();
+ continue; // stop here for now
+ /////////////////////////////
+
if (!(PINB & (1<<PB1))) { // button pressed (PB1 at ground voltage)
// also check if some time has elapsed since last button press
if (state == STATE_WAIT && button_release_counter == 255)