summaryrefslogtreecommitdiff
path: root/src/components/motion/MotionController.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/motion/MotionController.h')
-rw-r--r--src/components/motion/MotionController.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/motion/MotionController.h b/src/components/motion/MotionController.h
index 06429c8..23410af 100644
--- a/src/components/motion/MotionController.h
+++ b/src/components/motion/MotionController.h
@@ -39,6 +39,7 @@ namespace Pinetime {
void Init(Pinetime::Drivers::Bma421::DeviceTypes types);
inline double GXYZ(double &X, double &Y, double &Z) const {
+
X = x; Y = y; Z = z;
return std::sqrt(X*X + Y*Y + Z*Z);
}