diff options
Diffstat (limited to 'keyboards/helix/local_drivers/i2c.h')
-rw-r--r-- | keyboards/helix/local_drivers/i2c.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/keyboards/helix/local_drivers/i2c.h b/keyboards/helix/local_drivers/i2c.h index 47cf6bd1b..710662c7a 100644 --- a/keyboards/helix/local_drivers/i2c.h +++ b/keyboards/helix/local_drivers/i2c.h | |||
@@ -1,5 +1,4 @@ | |||
1 | #ifndef I2C_H | 1 | #pragma once |
2 | #define I2C_H | ||
3 | 2 | ||
4 | #include <stdint.h> | 3 | #include <stdint.h> |
5 | 4 | ||
@@ -45,5 +44,3 @@ extern unsigned char i2c_readNak(void); | |||
45 | extern unsigned char i2c_read(unsigned char ack); | 44 | extern unsigned char i2c_read(unsigned char ack); |
46 | 45 | ||
47 | #define i2c_read(ack) (ack) ? i2c_readAck() : i2c_readNak(); | 46 | #define i2c_read(ack) (ack) ? i2c_readAck() : i2c_readNak(); |
48 | |||
49 | #endif | ||