aboutsummaryrefslogtreecommitdiff
path: root/drivers/avr/i2c_slave.h
diff options
context:
space:
mode:
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 5d92150e6..1cd0625ef 100644
--- a/drivers/avr/i2c_slave.h
+++ b/drivers/avr/i2c_slave.h
@@ -20,8 +20,7 @@
20 Read or write to the necessary buffer according to the opperation. 20 Read or write to the necessary buffer according to the opperation.
21 */ 21 */
22 22
23#ifndef I2C_SLAVE_H 23#pragma once
24#define I2C_SLAVE_H
25 24
26#define I2C_SLAVE_REG_COUNT 30 25#define I2C_SLAVE_REG_COUNT 30
27 26
@@ -29,5 +28,3 @@ extern volatile uint8_t i2c_slave_reg[I2C_SLAVE_REG_COUNT];
29 28
30void i2c_slave_init(uint8_t address); 29void i2c_slave_init(uint8_t address);
31void i2c_slave_stop(void); 30void i2c_slave_stop(void);
32
33#endif // I2C_SLAVE_H