summaryrefslogtreecommitdiffstats
path: root/drivers/avr/i2c_slave.h
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2020-12-26 04:56:43 +0000
committerQMK Bot <hello@qmk.fm>2020-12-26 04:56:43 +0000
commit0b37c0dfa0690c60ddf0798d8d771b74f47ebca1 (patch)
tree3fa910e5907b75137d047363eee6680cc89228ee /drivers/avr/i2c_slave.h
parentffd7e44e5af660fbd131f67ef803ac3aad2123d6 (diff)
parent1d1d5da43f86d9dded47c66afec94991d623f114 (diff)
Merge remote-tracking branch 'origin/master' into develop
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