mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-13 03:54:42 +00:00
Code style fixes for Phantom matrix.
This commit is contained in:
parent
1e07b60d3a
commit
3f48b13f81
1 changed files with 15 additions and 15 deletions
|
@ -42,7 +42,8 @@ static void select_col(uint8_t col);
|
|||
reaches the value in the output compare register,
|
||||
and are turned on when it reaches TOP (=256). */
|
||||
static
|
||||
void setup_leds(void) {
|
||||
void setup_leds(void)
|
||||
{
|
||||
TCCR1A |= // Timer control register 1A
|
||||
(1<<WGM10) | // Fast PWM 8-bit
|
||||
(1<<COM1B1)| // Clear OC1B on match, set at TOP
|
||||
|
@ -57,7 +58,6 @@ void setup_leds(void) {
|
|||
PORTB &= 0x3F;
|
||||
}
|
||||
|
||||
|
||||
inline
|
||||
uint8_t matrix_rows(void)
|
||||
{
|
||||
|
@ -82,7 +82,7 @@ void matrix_init(void)
|
|||
setup_leds();
|
||||
|
||||
// initialize matrix state: all keys off
|
||||
for (uint8_t i=0; i < MATRIX_ROWS; i++) {
|
||||
for (uint8_t i = 0; i < MATRIX_ROWS; i++) {
|
||||
matrix[i] = 0;
|
||||
matrix_debouncing[i] = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue