Whitespace cleanup.

This commit is contained in:
alex-ong 2019-01-26 17:38:52 +11:00
parent 4d8733591f
commit 574fc6444b
5 changed files with 12 additions and 19 deletions

View file

@ -163,7 +163,7 @@ bool is_keyboard_master(void) {
*/
void keyboard_init(void) {
timer_init();
matrix_init();
matrix_init();
#ifdef QWIIC_ENABLE
qwiic_init();
#endif
@ -223,7 +223,7 @@ void keyboard_task(void)
uint8_t keys_processed = 0;
#endif
matrix_scan();
matrix_scan();
if (is_keyboard_master()) {
for (uint8_t r = 0; r < MATRIX_ROWS; r++) {
@ -231,7 +231,7 @@ void keyboard_task(void)
matrix_change = matrix_row ^ matrix_prev[r];
if (matrix_change) {
#ifdef MATRIX_HAS_GHOST
if (has_ghost_in_row(r, matrix_row)) continue;
if (has_ghost_in_row(r, matrix_row)) { continue; }
#endif
if (debug_matrix) matrix_print();
for (uint8_t c = 0; c < MATRIX_COLS; c++) {