Run uncrustify through ADXL346 driver.
This commit is contained in:
parent
70d94133ea
commit
2b3cab18f4
1 changed files with 34 additions and 35 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue