diff options
author | Ryan <fauxpark@gmail.com> | 2020-12-18 02:49:24 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-17 15:49:24 +0000 |
commit | 115b60b0e11f8661385b2219ce5ddbf2982b1f8c (patch) | |
tree | ecb7f47d99e460f12798852233b551dc30fb7c35 | |
parent | 7797070b376ff18a5d540ccc2a95033fc548c611 (diff) | |
download | qmk_firmware-115b60b0e11f8661385b2219ce5ddbf2982b1f8c.tar.gz qmk_firmware-115b60b0e11f8661385b2219ce5ddbf2982b1f8c.zip |
Fix duplicate I2C_KEYMAP_START define (#11237)
-rw-r--r-- | quantum/split_common/transport.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/quantum/split_common/transport.c b/quantum/split_common/transport.c index ae0c10b82..e601fb4df 100644 --- a/quantum/split_common/transport.c +++ b/quantum/split_common/transport.c | |||
@@ -55,14 +55,13 @@ typedef struct _I2C_slave_buffer_t { | |||
55 | 55 | ||
56 | static I2C_slave_buffer_t *const i2c_buffer = (I2C_slave_buffer_t *)i2c_slave_reg; | 56 | static I2C_slave_buffer_t *const i2c_buffer = (I2C_slave_buffer_t *)i2c_slave_reg; |
57 | 57 | ||
58 | # define I2C_SYNC_TIME_START offsetof(I2C_slave_buffer_t, sync_timer) | ||
58 | # define I2C_KEYMAP_START offsetof(I2C_slave_buffer_t, smatrix) | 59 | # define I2C_KEYMAP_START offsetof(I2C_slave_buffer_t, smatrix) |
59 | # define I2C_REAL_MODS_START offsetof(I2C_slave_buffer_t, real_mods) | 60 | # define I2C_REAL_MODS_START offsetof(I2C_slave_buffer_t, real_mods) |
60 | # define I2C_WEAK_MODS_START offsetof(I2C_slave_buffer_t, weak_mods) | 61 | # define I2C_WEAK_MODS_START offsetof(I2C_slave_buffer_t, weak_mods) |
61 | # define I2C_ONESHOT_MODS_START offsetof(I2C_slave_buffer_t, oneshot_mods) | 62 | # define I2C_ONESHOT_MODS_START offsetof(I2C_slave_buffer_t, oneshot_mods) |
62 | # define I2C_BACKLIGHT_START offsetof(I2C_slave_buffer_t, backlight_level) | 63 | # define I2C_BACKLIGHT_START offsetof(I2C_slave_buffer_t, backlight_level) |
63 | # define I2C_RGB_START offsetof(I2C_slave_buffer_t, rgblight_sync) | 64 | # define I2C_RGB_START offsetof(I2C_slave_buffer_t, rgblight_sync) |
64 | # define I2C_SYNC_TIME_START offsetof(I2C_slave_buffer_t, sync_timer) | ||
65 | # define I2C_KEYMAP_START offsetof(I2C_slave_buffer_t, smatrix) | ||
66 | # define I2C_ENCODER_START offsetof(I2C_slave_buffer_t, encoder_state) | 65 | # define I2C_ENCODER_START offsetof(I2C_slave_buffer_t, encoder_state) |
67 | # define I2C_WPM_START offsetof(I2C_slave_buffer_t, current_wpm) | 66 | # define I2C_WPM_START offsetof(I2C_slave_buffer_t, current_wpm) |
68 | 67 | ||