diff options
Diffstat (limited to 'keyboards/hotdox/left.h')
-rw-r--r-- | keyboards/hotdox/left.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/keyboards/hotdox/left.h b/keyboards/hotdox/left.h index 3d8b5a6ead..32faadba21 100644 --- a/keyboards/hotdox/left.h +++ b/keyboards/hotdox/left.h @@ -10,10 +10,7 @@ #define MCP23017_A1 0 #define MCP23017_A2 0 -#define I2C_ADDR (0x20) -#define I2C_ADDR_WRITE ((I2C_ADDR << 1) | I2C_WRITE) -#define I2C_ADDR_READ ((I2C_ADDR << 1) | I2C_READ) - +#define I2C_ADDR ((0x20) << 1) #define MCP23017_B0_IODIRA 0x00 #define MCP23017_B0_IODIRB 0x01 @@ -40,8 +37,6 @@ #define HOTDOX_I2C_TIMEOUT 100 -typedef int16_t i2c_status_t; - void left_init(void); void left_scan(void); |