mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 11:30:30 +08:00
[chore] keyboards/tzarc: Alignment with clang-format. (#20265)
This commit is contained in:
parent
d6ce42ae5b
commit
3ee17cd5d3
|
@ -114,4 +114,4 @@ void matrix_wait_for_interrupt(void) {
|
||||||
writePinHigh(col_pins[i]);
|
writePinHigh(col_pins[i]);
|
||||||
setPinInputHigh(col_pins[i]);
|
setPinInputHigh(col_pins[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,4 +25,4 @@ void usbpd_update(void) {
|
||||||
kb_state.current_setting = allowance;
|
kb_state.current_setting = allowance;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
// Uncomment the following if your board uses 1.5A and 3.0A hold current fuses.
|
// Uncomment the following if your board uses 1.5A and 3.0A hold current fuses.
|
||||||
//#define DJINN_SUPPORTS_3A_FUSE
|
// #define DJINN_SUPPORTS_3A_FUSE
|
||||||
|
|
||||||
// Encoder settings
|
// Encoder settings
|
||||||
#define ENCODER_RESOLUTION 2
|
#define ENCODER_RESOLUTION 2
|
||||||
|
@ -60,4 +60,4 @@
|
||||||
#define ENABLE_RGB_MATRIX_SPLASH
|
#define ENABLE_RGB_MATRIX_SPLASH
|
||||||
#define ENABLE_RGB_MATRIX_MULTISPLASH
|
#define ENABLE_RGB_MATRIX_MULTISPLASH
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_SPLASH
|
#define ENABLE_RGB_MATRIX_SOLID_SPLASH
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
|
#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
// Uncomment the following if your board uses 1.5A and 3.0A hold current fuses.
|
// Uncomment the following if your board uses 1.5A and 3.0A hold current fuses.
|
||||||
//#define DJINN_SUPPORTS_3A_FUSE
|
// #define DJINN_SUPPORTS_3A_FUSE
|
||||||
|
|
||||||
// Encoder settings
|
// Encoder settings
|
||||||
#define ENCODER_RESOLUTION 2
|
#define ENCODER_RESOLUTION 2
|
||||||
|
@ -60,4 +60,4 @@
|
||||||
#define ENABLE_RGB_MATRIX_SPLASH
|
#define ENABLE_RGB_MATRIX_SPLASH
|
||||||
#define ENABLE_RGB_MATRIX_MULTISPLASH
|
#define ENABLE_RGB_MATRIX_MULTISPLASH
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_SPLASH
|
#define ENABLE_RGB_MATRIX_SOLID_SPLASH
|
||||||
#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
|
#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
|
||||||
|
|
|
@ -2,11 +2,10 @@
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
||||||
// Matrix
|
// Matrix
|
||||||
#define MATRIX_SHIFT_REGISTER_COUNT 5
|
#define MATRIX_SHIFT_REGISTER_COUNT 5
|
||||||
//#define MATRIX_ROWS 6 // actually defined in info.json: 5 shift registers, plus one row for extras (i.e. encoder pushbutton read)
|
// #define MATRIX_ROWS 6 // actually defined in info.json: 5 shift registers, plus one row for extras (i.e. encoder pushbutton read)
|
||||||
//#define MATRIX_COLS 8 // actually defined in info.json: 8 bits per register
|
// #define MATRIX_COLS 8 // actually defined in info.json: 8 bits per register
|
||||||
|
|
||||||
// EEPROM configuration
|
// EEPROM configuration
|
||||||
#define EXTERNAL_EEPROM_BYTE_COUNT 8192
|
#define EXTERNAL_EEPROM_BYTE_COUNT 8192
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
||||||
// Matrix configuration
|
// Matrix configuration
|
||||||
#define SPI_MATRIX_CHIP_SELECT_PIN GP21
|
#define SPI_MATRIX_CHIP_SELECT_PIN GP21
|
||||||
#define SPI_MATRIX_DIVISOR 16
|
#define SPI_MATRIX_DIVISOR 16
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
||||||
// Matrix configuration
|
// Matrix configuration
|
||||||
#define SPI_MATRIX_CHIP_SELECT_PIN C4
|
#define SPI_MATRIX_CHIP_SELECT_PIN C4
|
||||||
#define SPI_MATRIX_DIVISOR 32
|
#define SPI_MATRIX_DIVISOR 32
|
||||||
|
|
Loading…
Reference in a new issue