summaryrefslogtreecommitdiff
path: root/kbc.c
diff options
context:
space:
mode:
Diffstat (limited to 'kbc.c')
-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
@@ -13,15 +13,15 @@
#endif
/* port B RJ45
* 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)
* 5 (SCL)
* port D
* 0 PS2_DATA (RXD) kb:3
@@ -36,14 +36,14 @@
#define D_DATA (1 << 0)
#define D_CLK (1 << 4)
#define D_PWR (1 << 5)
#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)
#define MAXTRIES 3
enum state {