Skip to content

Commit

Permalink
Fix duplicate I2C_KEYMAP_START define (qmk#11237)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark committed Dec 17, 2020
1 parent 12dcc07 commit acd8523
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions quantum/split_common/transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,13 @@ typedef struct _I2C_slave_buffer_t {

static I2C_slave_buffer_t *const i2c_buffer = (I2C_slave_buffer_t *)i2c_slave_reg;

# define I2C_SYNC_TIME_START offsetof(I2C_slave_buffer_t, sync_timer)
# define I2C_KEYMAP_START offsetof(I2C_slave_buffer_t, smatrix)
# define I2C_REAL_MODS_START offsetof(I2C_slave_buffer_t, real_mods)
# define I2C_WEAK_MODS_START offsetof(I2C_slave_buffer_t, weak_mods)
# define I2C_ONESHOT_MODS_START offsetof(I2C_slave_buffer_t, oneshot_mods)
# define I2C_BACKLIGHT_START offsetof(I2C_slave_buffer_t, backlight_level)
# define I2C_RGB_START offsetof(I2C_slave_buffer_t, rgblight_sync)
# define I2C_SYNC_TIME_START offsetof(I2C_slave_buffer_t, sync_timer)
# define I2C_KEYMAP_START offsetof(I2C_slave_buffer_t, smatrix)
# define I2C_ENCODER_START offsetof(I2C_slave_buffer_t, encoder_state)
# define I2C_WPM_START offsetof(I2C_slave_buffer_t, current_wpm)

Expand Down

0 comments on commit acd8523

Please sign in to comment.