summaryrefslogtreecommitdiff
path: root/kbc.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2012-01-15 19:41:36 +0100
committerDavid Lamparter <equinox@diac24.net>2012-01-15 19:41:56 +0100
commit73d3b9faf1d0ac88c52f4c7c2853da8d870f2581 (patch)
treeaf39521b2e4889fd0724d8e2c5c83184c4ff78cd /kbc.c
parentd3dcf97e28cfeffe5d2e27a119077e12b61b2e7e (diff)
general cleanups
Diffstat (limited to 'kbc.c')
-rw-r--r--kbc.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/kbc.c b/kbc.c
index 81ba569..3568eda 100644
--- a/kbc.c
+++ b/kbc.c
@@ -92,2 +92,3 @@ static void usart_dis()
+#if 0
static uint8_t dbgtx[64];
@@ -123,2 +124,6 @@ static void dbg_init(void)
}
+#else
+#define dbg_init()
+#define dbg_wr(x)
+#endif
@@ -334,4 +339,4 @@ static uint8_t error;
-static const EEMEM char passwd[sizeof(PIN) - 1] = PIN;
-static char code[sizeof(PIN)];
+static const EEMEM uint8_t passwd[sizeof(PIN) - 1] = PIN;
+static uint8_t code[sizeof(PIN)];
@@ -481,3 +486,3 @@ ISR(SIG_OVERFLOW0)
#define KBC_BASE 0x16
-const PROGMEM char kbc[] = {
+const PROGMEM uint8_t kbc[] = {
/* 0 1 2 3 4 5 6 7