From e51adc4a56b582e18ac7634195d380bdf07e1f4a Mon Sep 17 00:00:00 2001 From: Thomas Haukland Date: Thu, 11 May 2023 08:41:44 +0200 Subject: [PATCH] Fix reversed ghosting correction --- keyboards/cheapino/matrix.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/keyboards/cheapino/matrix.c b/keyboards/cheapino/matrix.c index cec07996128..c358301d9c0 100644 --- a/keyboards/cheapino/matrix.c +++ b/keyboards/cheapino/matrix.c @@ -133,9 +133,9 @@ bool has_matrix_changed(matrix_row_t current_matrix[]) { // OK, this is nasty, still not sure why its happening, but // this 3 key combo leads to ghosting of the 4th(the one missing from correct) -static const uint16_t ghost1_row2 = 0B0000010000100000; -static const uint16_t ghost1_row3 = 0B0000100000100000; -static const matrix_row_t ghost1_row3_correct = 0B0000000000010000; +static const uint16_t ghost1_row2 = 0B0000010000100000; +static const uint16_t ghost1_row3 = 0B0000100000100000; +static const matrix_row_t ghost1_row3_correct = 0B0000100000000000; void fix_ghosting_issue(matrix_row_t current_matrix[]) { if (current_matrix[1] & ghost1_row2 && current_matrix[2] & ghost1_row3) {