Gyro scaled output result not needed in RAM

This commit is contained in:
Bertrand Songis
2019-04-05 15:28:44 +02:00
parent 167849cee8
commit 73fa1c59b1
4 changed files with 17 additions and 8 deletions
+5 -2
View File
@@ -316,8 +316,11 @@ getvalue_t getValue(mixsrc_t i)
}
#if defined(GYRO)
else if (i <= MIXSRC_GYRO2) {
return gyro.scaled_outputs[i - MIXSRC_GYRO1];
else if (i == MIXSRC_GYRO1) {
return gyro.scaledX();
}
else if (i == MIXSRC_GYRO2) {
return gyro.scaledY();
}
#endif