diff options
Diffstat (limited to 'quantum/split_common/transport.c')
-rw-r--r-- | quantum/split_common/transport.c | 4 |
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 *)¤t_wpm, sizeof(current_wpm), TIMEOUT) >= 0) { | 89 | if (i2c_writeReg(SLAVE_I2C_ADDRESS, I2C_WPM_START, (void *)¤t_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 | ||