diff options
Diffstat (limited to 'tracker-freepie-udp')
-rw-r--r-- | tracker-freepie-udp/ftnoir_tracker_freepie-udp.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tracker-freepie-udp/ftnoir_tracker_freepie-udp.cpp b/tracker-freepie-udp/ftnoir_tracker_freepie-udp.cpp index 800428aa..d6d53803 100644 --- a/tracker-freepie-udp/ftnoir_tracker_freepie-udp.cpp +++ b/tracker-freepie-udp/ftnoir_tracker_freepie-udp.cpp @@ -1,6 +1,5 @@ #include "ftnoir_tracker_freepie-udp.h" #include "api/plugin-api.hpp" -#include "compat/pi-constant.hpp" #include <cinttypes> #include <algorithm> @@ -90,7 +89,7 @@ void TrackerImpl::run() { }; int indices[] = { s.add_yaw, s.add_pitch, s.add_roll }; QMutexLocker foo(&mtx); - static constexpr double r2d = 180 / OPENTRACK_PI; + static constexpr double r2d = 180 / M_PI; for (int i = 0; i < 3; i++) { int val = 0; |