mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-20 04:05:10 +00:00
Fix duplicate I2C_KEYMAP_START define (#11237)
This commit is contained in:
parent
7797070b37
commit
115b60b0e1
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
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_KEYMAP_START offsetof(I2C_slave_buffer_t, smatrix)
|
||||||
# define I2C_REAL_MODS_START offsetof(I2C_slave_buffer_t, real_mods)
|
# 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_WEAK_MODS_START offsetof(I2C_slave_buffer_t, weak_mods)
|
||||||
# define I2C_ONESHOT_MODS_START offsetof(I2C_slave_buffer_t, oneshot_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_BACKLIGHT_START offsetof(I2C_slave_buffer_t, backlight_level)
|
||||||
# define I2C_RGB_START offsetof(I2C_slave_buffer_t, rgblight_sync)
|
# 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_ENCODER_START offsetof(I2C_slave_buffer_t, encoder_state)
|
||||||
# define I2C_WPM_START offsetof(I2C_slave_buffer_t, current_wpm)
|
# define I2C_WPM_START offsetof(I2C_slave_buffer_t, current_wpm)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue