1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 08:45:36 +03:00

Fixed optimisation for board alignment.

This commit is contained in:
Michael Keller 2021-09-10 02:42:00 +12:00
parent c9d7267cf9
commit 1ecef2eb5c

View file

@ -78,7 +78,7 @@ FAST_CODE_NOINLINE void alignSensorViaMatrix(float *dest, fp_rotationMatrix_t* s
}
}
FAST_CODE void alignSensorViaRotation(float *dest, uint8_t rotation)
void alignSensorViaRotation(float *dest, uint8_t rotation)
{
const float x = dest[X];
const float y = dest[Y];