mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-22 16:37:58 +06:00
Updated matrix.c of some boards
This commit is contained in:
parent
02a4691a88
commit
4832cd381c
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user