Correct the code alignment
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
f987668068
commit
4c167b0729
@ -1398,7 +1398,9 @@ static unsigned int lis2dh_get_fifo_readings(FAR struct lis2dh_dev_s *priv,
|
||||
{
|
||||
uint8_t raw[6];
|
||||
struct lis2dh_vector_s sample;
|
||||
} *buf = (void *)&res->measurements[res->header.meas_count];
|
||||
}
|
||||
|
||||
*buf = (void *)&res->measurements[res->header.meas_count];
|
||||
|
||||
bool xy_axis_fixup = priv->setup->xy_axis_fixup;
|
||||
size_t buflen = readcount * 6;
|
||||
|
Loading…
Reference in New Issue
Block a user