Run uncrustify through ADXL346 driver.

This commit is contained in:
Pere Tuset 2016-06-01 11:11:21 +02:00
parent 70d94133ea
commit 2b3cab18f4

View File

@ -186,7 +186,7 @@ adxl346_is_present(void)
i2c_single_send(ADXL346_ADDRESS, ADXL346_DEVID_ADDR);
i2c_single_receive(ADXL346_ADDRESS, &is_present);
return (is_present == ADXL346_DEVID_VALUE);
return is_present == ADXL346_DEVID_VALUE;
}
/*---------------------------------------------------------------------------*/
static int16_t
@ -265,7 +265,6 @@ adxl346_calibrate_offset(void)
config[1] = -offset;
i2c_burst_send(ADXL346_ADDRESS, config, sizeof(config));
PRINTF("ADXL346: Z calibration offset is %d\n", offset);
}
/*---------------------------------------------------------------------------*/
static int