WiP: support for LSM6DSxx

This commit is contained in:
Raphael Coeffic
2022-06-25 16:09:04 +02:00
committed by Raphael Coeffic
parent df83a82285
commit 0b8d93ca88
44 changed files with 356 additions and 429 deletions
+3 -3
View File
@@ -321,11 +321,11 @@ getvalue_t getValue(mixsrc_t i)
return calibratedAnalogs[i - MIXSRC_Rud];
}
#if defined(GYRO)
else if (i == MIXSRC_GYRO1) {
#if defined(IMU)
else if (i == MIXSRC_TILT_X) {
return gyro.scaledX();
}
else if (i == MIXSRC_GYRO2) {
else if (i == MIXSRC_TILT_Y) {
return gyro.scaledY();
}
#endif