diff options
Diffstat (limited to 'keyboards/ymdk/sp64/sp64.h')
-rw-r--r-- | keyboards/ymdk/sp64/sp64.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/keyboards/ymdk/sp64/sp64.h b/keyboards/ymdk/sp64/sp64.h index afad36ee9a..0e3e3c38b8 100644 --- a/keyboards/ymdk/sp64/sp64.h +++ b/keyboards/ymdk/sp64/sp64.h @@ -23,9 +23,7 @@ # include "i2c_master.h" // I2C aliases and register addresses (see "mcp23018.md") -# define I2C_ADDR 0b0100000 -# define I2C_ADDR_WRITE ( (I2C_ADDR<<1) | I2C_WRITE ) -# define I2C_ADDR_READ ( (I2C_ADDR<<1) | I2C_READ ) +# define I2C_ADDR (0b0100000<<1) # define IODIRA 0x00 // i/o direction register # define IODIRB 0x01 # define GPPUA 0x0C // GPIO pull-up resistor register |