Fix board orientation

This commit is contained in:
Jaeyoung Lim
2022-10-26 09:32:10 +02:00
parent 75c63aee2a
commit af522a592f
+2 -2
View File
@@ -234,8 +234,8 @@ static constexpr bool rotate_3(enum Rotation rot, T &x, T &y, T &z)
case ROTATION_ROLL_90_YAW_90: {
T tmp = x;
x = z;
z = y;
y = tmp;
z = math::negate(y);
y = math::negate(tmp);
}
return true;