summaryrefslogtreecommitdiffhomepage
path: root/tracker-rift-080/ftnoir_tracker_rift_080.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-rift-080/ftnoir_tracker_rift_080.cpp')
-rwxr-xr-xtracker-rift-080/ftnoir_tracker_rift_080.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-rift-080/ftnoir_tracker_rift_080.cpp b/tracker-rift-080/ftnoir_tracker_rift_080.cpp
index 059f67e8..d5d6cbd6 100755
--- a/tracker-rift-080/ftnoir_tracker_rift_080.cpp
+++ b/tracker-rift-080/ftnoir_tracker_rift_080.cpp
@@ -57,7 +57,7 @@ void Rift_Tracker::data(double *data)
yaw += s.constant_drift;
old_yaw=yaw;
}
- constexpr double d2r = 57.295781;
+ constexpr float d2r = 57.295781f;
data[Yaw] = yaw * -d2r;
data[Pitch] = pitch * d2r;
data[Roll] = roll * d2r;