summaryrefslogtreecommitdiffstats
path: root/quantum/split_common/i2c.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/split_common/i2c.h')
-rw-r--r--quantum/split_common/i2c.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/quantum/split_common/i2c.h b/quantum/split_common/i2c.h
index b3cbe8c826..91e8e96f47 100644
--- a/quantum/split_common/i2c.h
+++ b/quantum/split_common/i2c.h
@@ -1,5 +1,4 @@
-#ifndef I2C_H
-#define I2C_H
+#pragma once
#include <stdint.h>
@@ -58,5 +57,3 @@ extern unsigned char i2c_readNak(void);
extern unsigned char i2c_read(unsigned char ack);
#define i2c_read(ack) (ack) ? i2c_readAck() : i2c_readNak();
-
-#endif