diff --git a/keyboards/annepro2/matrix.c b/keyboards/annepro2/matrix.c index 472b20ec729..5e9f2895fbc 100644 --- a/keyboards/annepro2/matrix.c +++ b/keyboards/annepro2/matrix.c @@ -50,7 +50,7 @@ uint8_t matrix_scan(void) { port_cache[0] = palReadPort(IOPORTA); port_cache[1] = palReadPort(IOPORTB); port_cache[2] = palReadPort(IOPORTC); - port_cache[2] = palReadPort(IOPORTD); + port_cache[3] = palReadPort(IOPORTD); palSetLine(row_list[row]); // get columns from ports