Bugfix board alignment YupiF7
This commit is contained in:
parent
6acbed6d6e
commit
765274699f
|
@ -73,7 +73,7 @@ static void alignBoard(float *vec)
|
|||
vec[Z] = (boardRotation[0][Z] * x + boardRotation[1][Z] * y + boardRotation[2][Z] * z);
|
||||
}
|
||||
|
||||
FAST_CODE void alignSensors(float *dest, uint8_t rotation)
|
||||
void alignSensors(float *dest, uint8_t rotation)
|
||||
{
|
||||
const float x = dest[X];
|
||||
const float y = dest[Y];
|
||||
|
|
Loading…
Reference in New Issue