mirror of
https://github.com/zsa/qmk_firmware.git
synced 2026-01-10 07:33:04 +00:00
chore: code style
This commit is contained in:
@@ -175,7 +175,7 @@ bool matrix_scan_custom(matrix_row_t current_matrix[]) {
|
|||||||
mcp23018_errors += !mcp23018_read_pins(MCP23018_DEFAULT_ADDRESS, mcp23018_PORTB, &rx);
|
mcp23018_errors += !mcp23018_read_pins(MCP23018_DEFAULT_ADDRESS, mcp23018_PORTB, &rx);
|
||||||
data = ~(rx & 0b00111111);
|
data = ~(rx & 0b00111111);
|
||||||
} else {
|
} else {
|
||||||
data = 0;
|
data = 0b11000000;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (raw_matrix_right[row] != data) {
|
if (raw_matrix_right[row] != data) {
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ bool matrix_scan_custom(matrix_row_t current_matrix[]) {
|
|||||||
__asm__("nop");
|
__asm__("nop");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
data = 0;
|
data = 0b11000000;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (raw_matrix_right[row] != data) {
|
if (raw_matrix_right[row] != data) {
|
||||||
|
|||||||
Reference in New Issue
Block a user