aboutsummaryrefslogtreecommitdiff
path: root/quantum/split_common/transport.c
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2020-03-25 03:39:53 +0000
committerGitHub <noreply@github.com>2020-03-25 14:39:53 +1100
commit6ceaae30f519b63b4b56e0277dd459cccf2d0729 (patch)
treeef453f7a49b5570196bd9ee7e32b9e7a7b5b3c10 /quantum/split_common/transport.c
parent5075a1d9e4bdc4af6563f3805f567913e36f7159 (diff)
downloadqmk_firmware-6ceaae30f519b63b4b56e0277dd459cccf2d0729.tar.gz
qmk_firmware-6ceaae30f519b63b4b56e0277dd459cccf2d0729.zip
Run clang-format manually to fix recently changed files (#8552)
Diffstat (limited to 'quantum/split_common/transport.c')
-rw-r--r--quantum/split_common/transport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/split_common/transport.c b/quantum/split_common/transport.c
index 3234a3ef5..467ff81a9 100644
--- a/quantum/split_common/transport.c
+++ b/quantum/split_common/transport.c
@@ -85,7 +85,7 @@ bool transport_master(matrix_row_t matrix[]) {
85 85
86# ifdef WPM_ENABLE 86# ifdef WPM_ENABLE
87 uint8_t current_wpm = get_current_wpm(); 87 uint8_t current_wpm = get_current_wpm();
88 if(current_wpm != i2c_buffer->current_wpm) { 88 if (current_wpm != i2c_buffer->current_wpm) {
89 if (i2c_writeReg(SLAVE_I2C_ADDRESS, I2C_WPM_START, (void *)&current_wpm, sizeof(current_wpm), TIMEOUT) >= 0) { 89 if (i2c_writeReg(SLAVE_I2C_ADDRESS, I2C_WPM_START, (void *)&current_wpm, sizeof(current_wpm), TIMEOUT) >= 0) {
90 i2c_buffer->current_wpm = current_wpm; 90 i2c_buffer->current_wpm = current_wpm;
91 } 91 }
@@ -269,7 +269,7 @@ void transport_slave(matrix_row_t matrix[]) {
269# endif 269# endif
270 270
271# ifdef WPM_ENABLE 271# ifdef WPM_ENABLE
272 set_current_wpm(serial_m2s_buffer.current_wpm); 272 set_current_wpm(serial_m2s_buffer.current_wpm);
273# endif 273# endif
274} 274}
275 275