Gyro scaled output result not needed in RAM
This commit is contained in:
+5
-2
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user