From 7041eadcbf7abe835c74d6f741d6e7e19c476f26 Mon Sep 17 00:00:00 2001 From: Thomas Haukland Date: Sat, 18 May 2024 09:55:30 +0200 Subject: [PATCH] Use unsigned short instead of macro ushort Ref: https://github.com/tompi/cheapino/issues/38 --- keyboards/cheapino/ghosting.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keyboards/cheapino/ghosting.c b/keyboards/cheapino/ghosting.c index 9416dfd484..c349b0abe1 100644 --- a/keyboards/cheapino/ghosting.c +++ b/keyboards/cheapino/ghosting.c @@ -47,9 +47,9 @@ bool bit_pattern_set(uint16_t number, uint16_t bitPattern) { void fix_ghosting_instance( matrix_row_t current_matrix[], - ushort row_num_with_possible_error_cause, + unsigned short row_num_with_possible_error_cause, uint16_t possible_error_cause, - ushort row_num_with_possible_error, + unsigned short row_num_with_possible_error, uint16_t possible_error, uint16_t error_fix) { if (bit_pattern_set(current_matrix[row_num_with_possible_error_cause], possible_error_cause)) {