another stupid bug
authorBernard Blackham <[email protected]>
Mon, 11 Aug 2003 16:52:10 +0000 (16:52 +0000)
committerBernard Blackham <[email protected]>
Mon, 11 Aug 2003 16:52:10 +0000 (16:52 +0000)
ROM2/keypad.c

index 359e189..f4b20c2 100644 (file)
@@ -15,7 +15,7 @@ extern inline u8 keypad_read_row(u8 row) {
        if (row)
                bset((void*)&_io_ports[M6811_PORTD], PORTD_KEYPAD_ROW);
        else
-               bclr((void*)&_io_ports[M6811_PORTD], ~PORTD_KEYPAD_ROW);
+               bclr((void*)&_io_ports[M6811_PORTD], PORTD_KEYPAD_ROW);
 
        bclr_misc_output(A3800_DISPLAY_WRITE);  /* disable the display clock */
 

UCC git Repository :: git.ucc.asn.au