summaryrefslogtreecommitdiffstats
path: root/keyboards/helix/local_drivers/i2c.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/helix/local_drivers/i2c.h')
-rw-r--r--keyboards/helix/local_drivers/i2c.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/keyboards/helix/local_drivers/i2c.h b/keyboards/helix/local_drivers/i2c.h
index 47cf6bd1b2..710662c7ab 100644
--- a/keyboards/helix/local_drivers/i2c.h
+++ b/keyboards/helix/local_drivers/i2c.h
@@ -1,5 +1,4 @@
-#ifndef I2C_H
-#define I2C_H
+#pragma once
#include <stdint.h>
@@ -45,5 +44,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