diff options
author | Ryan <[email protected]> | 2020-12-26 15:56:11 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-26 15:56:11 +1100 |
commit | 1d1d5da43f86d9dded47c66afec94991d623f114 (patch) | |
tree | 5f0d4d303a1f5dd67a3d9a19b0f99b8e3f06a4e6 /drivers/avr/i2c_master.h | |
parent | 48f4768d33313e6a6ed48c31f95eb44feda10a51 (diff) | |
download | qmk_firmware-1d1d5da43f86d9dded47c66afec94991d623f114.tar.gz qmk_firmware-1d1d5da43f86d9dded47c66afec94991d623f114.zip |
Change include guards in tmk_core/ and drivers/ to pragma once (#11240)0.11.22
Diffstat (limited to 'drivers/avr/i2c_master.h')
-rw-r--r-- | drivers/avr/i2c_master.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/avr/i2c_master.h b/drivers/avr/i2c_master.h index 4a35867cd0..e5af73364b 100644 --- a/drivers/avr/i2c_master.h +++ b/drivers/avr/i2c_master.h @@ -17,8 +17,7 @@ * GitHub repository: https://github.com/g4lvanix/I2C-master-lib */ -#ifndef I2C_MASTER_H -#define I2C_MASTER_H +#pragma once #define I2C_READ 0x01 #define I2C_WRITE 0x00 @@ -42,5 +41,3 @@ i2c_status_t i2c_receive(uint8_t address, uint8_t* data, uint16_t length, uint16 i2c_status_t i2c_writeReg(uint8_t devaddr, uint8_t regaddr, const uint8_t* data, uint16_t length, uint16_t timeout); i2c_status_t i2c_readReg(uint8_t devaddr, uint8_t regaddr, uint8_t* data, uint16_t length, uint16_t timeout); void i2c_stop(void); - -#endif // I2C_MASTER_H |