summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kbc.c6
1 files 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)