summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlalalademaxiya1 <2831039915@qq.com>2023-06-15 14:51:55 +0800
committerlalalademaxiya1 <2831039915@qq.com>2023-06-15 14:51:55 +0800
commit96467bc2dae33d98923771e84888ffaf3524edc3 (patch)
tree5ae7a53358659f507e2d092607428e09e8be7a20
parent156dffa0fe06feff46df8fcc39db85a683d16193 (diff)
Update matrix.c
-rwxr-xr-xkeyboards/keychron/q5_pro/matrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/keychron/q5_pro/matrix.c b/keyboards/keychron/q5_pro/matrix.c
index aa90c397da..b5e782dd53 100755
--- a/keyboards/keychron/q5_pro/matrix.c
+++ b/keyboards/keychron/q5_pro/matrix.c
@@ -71,7 +71,7 @@ static void HC595_output(uint32_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);