summaryrefslogtreecommitdiffstats
path: root/app/project.h
diff options
context:
space:
mode:
authorroot <root@lamia.panaceas.james.local>2015-06-13 13:08:23 +0100
committerroot <root@lamia.panaceas.james.local>2015-06-13 13:08:23 +0100
commitcd568297a41e5a6f2e130de82c07b6b789d34f4b (patch)
treea8ac2021e11d8a33d178fa521bde323c819e4c8d /app/project.h
parent162fcd3f8d879615dc39181daea95ef6fcb83752 (diff)
downloadtims_keyboard-cd568297a41e5a6f2e130de82c07b6b789d34f4b.tar.gz
tims_keyboard-cd568297a41e5a6f2e130de82c07b6b789d34f4b.tar.bz2
tims_keyboard-cd568297a41e5a6f2e130de82c07b6b789d34f4b.zip
add usb wakeup support, all keys up on bad data, and resend for parity errors
Diffstat (limited to 'app/project.h')
-rw-r--r--app/project.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/project.h b/app/project.h
index 87363f9..e477856 100644
--- a/app/project.h
+++ b/app/project.h
@@ -14,6 +14,7 @@
#include <libopencm3/usb/dfu.h>
#include <stdio.h>
+#include <string.h>
#include <errno.h>
#include "ring.h"
@@ -34,5 +35,8 @@
#define AT_KBD_INIT_TIME 200
+#define US (72)
+#define MS ( US * 1000 )
+
#include "prototypes.h"