summaryrefslogtreecommitdiff
path: root/drivers/avr/i2c_slave.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-12-26 15:56:11 +1100
committerGitHub <noreply@github.com>2020-12-26 15:56:11 +1100
commit1d1d5da43f86d9dded47c66afec94991d623f114 (patch)
tree5f0d4d303a1f5dd67a3d9a19b0f99b8e3f06a4e6 /drivers/avr/i2c_slave.h
parent48f4768d33313e6a6ed48c31f95eb44feda10a51 (diff)
Change include guards in tmk_core/ and drivers/ to pragma once (#11240)
Diffstat (limited to 'drivers/avr/i2c_slave.h')
-rw-r--r--drivers/avr/i2c_slave.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/avr/i2c_slave.h b/drivers/avr/i2c_slave.h
index 5d92150e65..1cd0625ef4 100644
--- a/drivers/avr/i2c_slave.h
+++ b/drivers/avr/i2c_slave.h
@@ -20,8 +20,7 @@
Read or write to the necessary buffer according to the opperation.
*/
-#ifndef I2C_SLAVE_H
-#define I2C_SLAVE_H
+#pragma once
#define I2C_SLAVE_REG_COUNT 30
@@ -29,5 +28,3 @@ extern volatile uint8_t i2c_slave_reg[I2C_SLAVE_REG_COUNT];
void i2c_slave_init(uint8_t address);
void i2c_slave_stop(void);
-
-#endif // I2C_SLAVE_H