1
0
Fork 0

Run clang-format manually to fix recently changed files (#8552)

This commit is contained in:
Joel Challis 2020-03-25 03:39:53 +00:00 committed by GitHub
parent 5075a1d9e4
commit 6ceaae30f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 39 additions and 43 deletions

View file

@ -85,7 +85,7 @@ bool transport_master(matrix_row_t matrix[]) {
# ifdef WPM_ENABLE
uint8_t current_wpm = get_current_wpm();
if(current_wpm != i2c_buffer->current_wpm) {
if (current_wpm != i2c_buffer->current_wpm) {
if (i2c_writeReg(SLAVE_I2C_ADDRESS, I2C_WPM_START, (void *)&current_wpm, sizeof(current_wpm), TIMEOUT) >= 0) {
i2c_buffer->current_wpm = current_wpm;
}
@ -269,7 +269,7 @@ void transport_slave(matrix_row_t matrix[]) {
# endif
# ifdef WPM_ENABLE
set_current_wpm(serial_m2s_buffer.current_wpm);
set_current_wpm(serial_m2s_buffer.current_wpm);
# endif
}