From: Bernard Blackham Date: Mon, 11 Aug 2003 16:52:10 +0000 (+0000) Subject: another stupid bug X-Git-Tag: ROMW~73 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=4771b6e22d51d8b372a6c670e5f6307c1fbc8720;p=uccvend-snackrom.git another stupid bug --- diff --git a/ROM2/keypad.c b/ROM2/keypad.c index 359e189..f4b20c2 100644 --- a/ROM2/keypad.c +++ b/ROM2/keypad.c @@ -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 */