diff options
Diffstat (limited to 'keyboards/keychron')
-rw-r--r-- | keyboards/keychron/k10_pro/iso/white/config.h | 2 | ||||
-rwxr-xr-x | keyboards/keychron/k12_pro/matrix.c | 2 | ||||
-rw-r--r-- | keyboards/keychron/k1_pro/matrix.c | 2 | ||||
-rw-r--r-- | keyboards/keychron/q2_pro/matrix.c | 2 | ||||
-rwxr-xr-x | keyboards/keychron/q3_pro/matrix_v2.c | 2 | ||||
-rwxr-xr-x | keyboards/keychron/q4_pro/matrix.c | 2 | ||||
-rwxr-xr-x | keyboards/keychron/q5_pro/matrix.c | 2 | ||||
-rwxr-xr-x | keyboards/keychron/q6_pro/ansi_encoder/info.json | 2 | ||||
-rw-r--r-- | keyboards/keychron/q8_pro/matrix.c | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/keyboards/keychron/k10_pro/iso/white/config.h b/keyboards/keychron/k10_pro/iso/white/config.h index 1ef38951b6..54e97b6fbf 100644 --- a/keyboards/keychron/k10_pro/iso/white/config.h +++ b/keyboards/keychron/k10_pro/iso/white/config.h @@ -30,7 +30,7 @@ # define LED_MATRIX_DRIVER_SHUTDOWN_ENABLE /* Turn off backllit if brightness value is low */ -# define LED_MATRIX_TURN_OFF_VAL 48 +# define LED_MATRIX_BRIGHTNESS_TURN_OFF_VAL 48 # define LOW_BAT_IND_INDEX 99 // Space diff --git a/keyboards/keychron/k12_pro/matrix.c b/keyboards/keychron/k12_pro/matrix.c index b08a906263..21b3a775a4 100755 --- a/keyboards/keychron/k12_pro/matrix.c +++ b/keyboards/keychron/k12_pro/matrix.c @@ -53,7 +53,7 @@ static void HC595_output(uint16_t data) { uint8_t n = 1; uint8_t i; - for (i = 1; i < (MATRIX_COLS - DIRECT_COL_NUM); i++) { + for (i = 0; i < (MATRIX_COLS - DIRECT_COL_NUM); i++) { writePinLow(HC595_SHCP); if (data & 0x1) { writePinHigh(HC595_DS); diff --git a/keyboards/keychron/k1_pro/matrix.c b/keyboards/keychron/k1_pro/matrix.c index 8be33235de..1ef3f96050 100644 --- a/keyboards/keychron/k1_pro/matrix.c +++ b/keyboards/keychron/k1_pro/matrix.c @@ -53,7 +53,7 @@ static void HC595_output(uint16_t data) { uint8_t n = 1; uint8_t i; - for (i = 1; i < (MATRIX_COLS - DIRECT_COL_NUM); i++) { + for (i = 0; i < (MATRIX_COLS - DIRECT_COL_NUM); i++) { writePinLow(HC595_SHCP); if (data & 0x1) { writePinHigh(HC595_DS); diff --git a/keyboards/keychron/q2_pro/matrix.c b/keyboards/keychron/q2_pro/matrix.c index 1316021a04..b9ae5b0a4f 100644 --- a/keyboards/keychron/q2_pro/matrix.c +++ b/keyboards/keychron/q2_pro/matrix.c @@ -53,7 +53,7 @@ static void HC595_output(uint16_t data) { uint8_t i; uint8_t n = 1; - for (i = 1; i < (MATRIX_COLS - DIRECT_COL_NUM); i++) { + for (i = 0; i < (MATRIX_COLS - DIRECT_COL_NUM); i++) { writePinLow(HC595_SHCP); if (data & 0x1) { writePinHigh(HC595_DS); diff --git a/keyboards/keychron/q3_pro/matrix_v2.c b/keyboards/keychron/q3_pro/matrix_v2.c index 06c9baec3f..023e863c03 100755 --- a/keyboards/keychron/q3_pro/matrix_v2.c +++ b/keyboards/keychron/q3_pro/matrix_v2.c @@ -53,7 +53,7 @@ static void HC595_output(uint16_t data) { uint8_t n = 1; uint8_t i; - for (i = 1; i < (MATRIX_COLS - DIRECT_COL_NUM); i++) { + for (i = 0; i < (MATRIX_COLS - DIRECT_COL_NUM); i++) { writePinLow(HC595_SHCP); if (data & 0x1) { writePinHigh(HC595_DS); diff --git a/keyboards/keychron/q4_pro/matrix.c b/keyboards/keychron/q4_pro/matrix.c index 23ae83cbdd..3d25601d08 100755 --- a/keyboards/keychron/q4_pro/matrix.c +++ b/keyboards/keychron/q4_pro/matrix.c @@ -53,7 +53,7 @@ static void HC595_output(uint16_t data) { uint8_t n = 1; uint8_t i; - for (i = 1; i < (MATRIX_COLS - DIRECT_COL_NUM); i++) { + for (i = 0; i < (MATRIX_COLS - DIRECT_COL_NUM); i++) { writePinLow(HC595_SHCP); if (data & 0x1) { writePinHigh(HC595_DS); diff --git a/keyboards/keychron/q5_pro/matrix.c b/keyboards/keychron/q5_pro/matrix.c index b5e782dd53..ee2d24e612 100755 --- a/keyboards/keychron/q5_pro/matrix.c +++ b/keyboards/keychron/q5_pro/matrix.c @@ -53,7 +53,7 @@ static void HC595_output(uint32_t data) { uint8_t i; uint8_t n = 1; - for (i = 1; i < (MATRIX_COLS - DIRECT_COL_NUM); i++) { + for (i = 0; i < (MATRIX_COLS - DIRECT_COL_NUM); i++) { writePinLow(HC595_SHCP); if (data & 0x1) { writePinHigh(HC595_DS); diff --git a/keyboards/keychron/q6_pro/ansi_encoder/info.json b/keyboards/keychron/q6_pro/ansi_encoder/info.json index 1e2440e21e..5eb0e0ce7e 100755 --- a/keyboards/keychron/q6_pro/ansi_encoder/info.json +++ b/keyboards/keychron/q6_pro/ansi_encoder/info.json @@ -1,7 +1,7 @@ { "usb": { "pid": "0x0660", - "device_version": "1.0.0" + "device_version": "1.0.1" }, "layouts": { "LAYOUT_109_ansi": { diff --git a/keyboards/keychron/q8_pro/matrix.c b/keyboards/keychron/q8_pro/matrix.c index 4f39280e95..6ee06595e6 100644 --- a/keyboards/keychron/q8_pro/matrix.c +++ b/keyboards/keychron/q8_pro/matrix.c @@ -53,7 +53,7 @@ static void HC595_output(uint16_t data) { uint8_t i; uint8_t n = 1; - for (i = 1; i < (MATRIX_COLS - DIRECT_COL_NUM); i++) { + for (i = 0; i < (MATRIX_COLS - DIRECT_COL_NUM); i++) { writePinLow(HC595_SHCP); if (data & 0x1) { writePinHigh(HC595_DS); |