mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-23 00:05:28 +03:00
Fix an apparent typo on accgyro_bmi160.c
BMI160 is only used by the RADIX target, which lacks CMakeFileLists.txt
This commit is contained in:
parent
6749f7be36
commit
d42bb2c49b
1 changed files with 3 additions and 3 deletions
|
@ -195,9 +195,9 @@ bool bmi160AccReadScratchpad(accDev_t *acc)
|
|||
bmi160ContextData_t * ctx = busDeviceGetScratchpadMemory(acc->busDev);
|
||||
|
||||
if (ctx->lastReadStatus) {
|
||||
acc->ADCRaw[X] = (float) int16_val_little_endian(ctx->gyroRaw, 0);
|
||||
acc->ADCRaw[Y] = (float) int16_val_little_endian(ctx->gyroRaw, 1);
|
||||
acc->ADCRaw[Z] = (float) int16_val_little_endian(ctx->gyroRaw, 2);
|
||||
acc->ADCRaw[X] = (float) int16_val_little_endian(ctx->accRaw, 0);
|
||||
acc->ADCRaw[Y] = (float) int16_val_little_endian(ctx->accRaw, 1);
|
||||
acc->ADCRaw[Z] = (float) int16_val_little_endian(ctx->accRaw, 2);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue