Format code according to conventions (#16322)

This commit is contained in:
QMK Bot 2022-02-12 10:29:31 -08:00 committed by GitHub
parent afcdd7079c
commit 63646e8906
Failed to generate hash of commit
345 changed files with 4916 additions and 3229 deletions

View file

@ -30,7 +30,9 @@ uint8_t matrix_scan(void) {
return 1;
}
matrix_row_t matrix_get_row(uint8_t row) { return matrix[row]; }
matrix_row_t matrix_get_row(uint8_t row) {
return matrix[row];
}
void matrix_print(void) {}
@ -38,10 +40,16 @@ void matrix_init_kb(void) {}
void matrix_scan_kb(void) {}
void press_key(uint8_t col, uint8_t row) { matrix[row] |= 1 << col; }
void press_key(uint8_t col, uint8_t row) {
matrix[row] |= 1 << col;
}
void release_key(uint8_t col, uint8_t row) { matrix[row] &= ~(1 << col); }
void release_key(uint8_t col, uint8_t row) {
matrix[row] &= ~(1 << col);
}
void clear_all_keys(void) { memset(matrix, 0, sizeof(matrix)); }
void clear_all_keys(void) {
memset(matrix, 0, sizeof(matrix));
}
void led_set(uint8_t usb_led) {}