We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fca4147 commit babe668Copy full SHA for babe668
library.properties
@@ -1,5 +1,5 @@
1
name=SensorFusion
2
-version=1.0.5
+version=1.0.6
3
author=aster94
4
maintainer=aster94
5
sentence=A library that makes using a IMU a breeze.
src/SensorFusion.cpp
@@ -64,7 +64,7 @@ float SF::invSqrt(float x)
64
conv.i = 0x5f3759df - (conv.i >> 1);
65
conv.f *= 1.5f - (halfx * conv.f * conv.f);
66
67
- return y;
+ return conv.f;
68
}
69
70
//-------------------------------------------------------------------------------------------
0 commit comments