1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

Merge pull request #10959 from mikeller/fix_boardalignment_optimisation

This commit is contained in:
Michael Keller 2021-09-27 01:28:12 +13:00 committed by GitHub
commit 8702bba3ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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];