summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron
diff options
context:
space:
mode:
authorlalalademaxiya1 <2831039915@qq.com>2023-06-15 14:56:33 +0800
committerlalalademaxiya1 <2831039915@qq.com>2023-06-15 14:56:33 +0800
commit83b06b907a8d52837557c9e33d50d11bb42935c2 (patch)
tree3f8117e3ab10a9e8e403c63071ee9263709383ce /keyboards/keychron
parent8660a5c5970e938a2f208250ea5e75ea50f43699 (diff)
Update matrix.c
Diffstat (limited to 'keyboards/keychron')
-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);