diff options
| author | QMK Bot <hello@qmk.fm> | 2020-12-26 04:56:43 +0000 |
|---|---|---|
| committer | QMK Bot <hello@qmk.fm> | 2020-12-26 04:56:43 +0000 |
| commit | 0b37c0dfa0690c60ddf0798d8d771b74f47ebca1 (patch) | |
| tree | 3fa910e5907b75137d047363eee6680cc89228ee /drivers/avr/i2c_slave.h | |
| parent | ffd7e44e5af660fbd131f67ef803ac3aad2123d6 (diff) | |
| parent | 1d1d5da43f86d9dded47c66afec94991d623f114 (diff) | |
| download | qmk_firmware-0b37c0dfa0690c60ddf0798d8d771b74f47ebca1.tar.gz qmk_firmware-0b37c0dfa0690c60ddf0798d8d771b74f47ebca1.zip | |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'drivers/avr/i2c_slave.h')
| -rw-r--r-- | drivers/avr/i2c_slave.h | 5 |
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 | ||
| 30 | void i2c_slave_init(uint8_t address); | 29 | void i2c_slave_init(uint8_t address); |
| 31 | void i2c_slave_stop(void); | 30 | void i2c_slave_stop(void); |
| 32 | |||
| 33 | #endif // I2C_SLAVE_H | ||
