summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xkeyboards/keychron/k12_pro/matrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/keychron/k12_pro/matrix.c b/keyboards/keychron/k12_pro/matrix.c
index 06c9baec3f..b08a906263 100755
--- a/keyboards/keychron/k12_pro/matrix.c
+++ b/keyboards/keychron/k12_pro/matrix.c
@@ -71,7 +71,7 @@ static void HC595_output(uint16_t data) {
writePinHigh(HC595_STCP);
}
-static void HC595_output_bit(uint16_t data) {
+static void HC595_output_bit(uint8_t data) {
uint8_t n = 1;
writePinLow(HC595_SHCP);