mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-03 11:30:53 +00:00
Run uncrustify through ADXL346 driver.
This commit is contained in:
parent
70d94133ea
commit
2b3cab18f4
@ -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…
Reference in New Issue
Block a user