From 266b599cfdbbdc14bdf4f5695fdf741ce3138175 Mon Sep 17 00:00:00 2001 From: Christian Kroll Date: Sun, 7 Apr 2013 01:16:10 +0200 Subject: [PATCH] the MCLR pins of the 74HCT164 chips are not connected on Borg 16 --- borg_hw/borg_hw_borg16.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/borg_hw/borg_hw_borg16.c b/borg_hw/borg_hw_borg16.c index 867e237..adf0176 100644 --- a/borg_hw/borg_hw_borg16.c +++ b/borg_hw/borg_hw_borg16.c @@ -57,8 +57,6 @@ static void nextrow(uint8_t row) { if (row == 0) { // row 0: initialize first shift register #ifndef INVERT_ROWS - ROWPORT &= ~(1 << PIN_MCLR); - ROWPORT |= (1 << PIN_MCLR); ROWPORT |= (1 << PIN_DATA); ROWPORT |= (1 << PIN_CLK); ROWPORT &= ~(1 << PIN_CLK); @@ -197,7 +195,7 @@ void borg_hw_init() { COLDDR2 = 0xFF; // switch pins of the row port to output mode - ROWDDR = (1 << PIN_MCLR) | (1 << PIN_CLK) | (1 << PIN_DATA); + ROWDDR = (1 << PIN_CLK) | (1 << PIN_DATA); // switch off all columns for now COLPORT1 = 0;