summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/q4_pro/matrix.c
diff options
context:
space:
mode:
authorlalalademaxiya1 <2831039915@qq.com>2023-06-15 14:54:49 +0800
committerlalalademaxiya1 <2831039915@qq.com>2023-06-15 14:54:49 +0800
commit313409ebe81c8a1d7a56fc9289f6970fe63dde32 (patch)
tree3406bb0fd9df44c5aa3de28c16ad572304d13e69 /keyboards/keychron/q4_pro/matrix.c
parentf47b3e451d36fdf580972a60e3239b7a54fb6830 (diff)
Update matrix.c
Diffstat (limited to 'keyboards/keychron/q4_pro/matrix.c')
-rwxr-xr-xkeyboards/keychron/q4_pro/matrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/keychron/q4_pro/matrix.c b/keyboards/keychron/q4_pro/matrix.c
index 3b340f652c..23ae83cbdd 100755
--- a/keyboards/keychron/q4_pro/matrix.c
+++ b/keyboards/keychron/q4_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);