AP_HAL_Linux: fix I2CDriver indentation

Tabs to spaces
This commit is contained in:
Julien BERAUD 2015-11-26 14:36:13 +01:00 committed by Andrew Tridgell
parent af6bbb806e
commit 2136866594

View File

@ -184,12 +184,12 @@ uint8_t I2CDriver::writeRegisters(uint8_t addr, uint8_t reg,
static inline __s32 _i2c_smbus_access(int file, char read_write, __u8 command,
int size, union i2c_smbus_data *data)
{
struct i2c_smbus_ioctl_data args;
args.read_write = read_write;
args.command = command;
args.size = size;
args.data = data;
return ioctl(file,I2C_SMBUS,&args);
struct i2c_smbus_ioctl_data args;
args.read_write = read_write;
args.command = command;
args.size = size;
args.data = data;
return ioctl(file,I2C_SMBUS,&args);
}
uint8_t I2CDriver::writeRegister(uint8_t addr, uint8_t reg, uint8_t val)