WiP: support for LSM6DSxx
This commit is contained in:
committed by
Raphael Coeffic
parent
df83a82285
commit
0b8d93ca88
+3
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user