diff options
Diffstat (limited to 'quantum/split_common/i2c.h')
-rw-r--r-- | quantum/split_common/i2c.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/quantum/split_common/i2c.h b/quantum/split_common/i2c.h index b3cbe8c82..91e8e96f4 100644 --- a/quantum/split_common/i2c.h +++ b/quantum/split_common/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 | ||
@@ -58,5 +57,3 @@ extern unsigned char i2c_readNak(void); | |||
58 | extern unsigned char i2c_read(unsigned char ack); | 57 | extern unsigned char i2c_read(unsigned char ack); |
59 | 58 | ||
60 | #define i2c_read(ack) (ack) ? i2c_readAck() : i2c_readNak(); | 59 | #define i2c_read(ack) (ack) ? i2c_readAck() : i2c_readNak(); |
61 | |||
62 | #endif | ||