From 0d7c0758dbe879c73eacf711d124603b78137585 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Wed, 18 Jan 2012 22:36:59 +0100 Subject: work around broken PB3 --- kbc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kbc.c b/kbc.c index 45e3308..5d13e55 100644 --- a/kbc.c +++ b/kbc.c @@ -16,9 +16,9 @@ * 0 * 1 BEEP (OC1A) * 2 SS up:8 - * 3 MOSI up:2 LOCK + * 3 MOSI up:2 was: LOCK - output broken! * 4 MISO up:4 UNLOCK - * 5 SCK up:7 + * 5 SCK up:7 LOCK * port C * 0-3 * 4 (SDA) @@ -39,8 +39,8 @@ #define B_BEEP (1 << 1) #define B_FEEDBACK (1 << 2) -#define B_CLOSE (1 << 3) #define B_OPEN (1 << 4) +#define B_CLOSE (1 << 5) #define B_MISO (1 << 4) -- cgit v1.2.1