summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2012-01-18 21:36:59 (GMT)
committerDavid Lamparter <equinox@diac24.net>2012-01-18 21:36:59 (GMT)
commit0d7c0758dbe879c73eacf711d124603b78137585 (patch)
tree1dea80aef32b80071f8f4c4c97881f9e771e0875
parent79c414c4cfebf56edff8fdc4e4b234bbe0d623e5 (diff)
work around broken PB3
-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)