summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_fg/ftnoir_protocol_fg.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-16 23:30:47 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-10-17 03:16:11 +0200
commitda46cf18a2c7ad56c53e9c02014f75c818d39ea3 (patch)
tree4fd27ab33e03ecff2859c363e2cd77b69791ec71 /ftnoir_protocol_fg/ftnoir_protocol_fg.cpp
parent8905749b7949f10a3635faa13b44cba01a6edbe4 (diff)
change protocol ABI: sprinkle const. ABI BREAKAGE!
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'ftnoir_protocol_fg/ftnoir_protocol_fg.cpp')
-rw-r--r--ftnoir_protocol_fg/ftnoir_protocol_fg.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/ftnoir_protocol_fg/ftnoir_protocol_fg.cpp b/ftnoir_protocol_fg/ftnoir_protocol_fg.cpp
index 5aa3487e..08e7370b 100644
--- a/ftnoir_protocol_fg/ftnoir_protocol_fg.cpp
+++ b/ftnoir_protocol_fg/ftnoir_protocol_fg.cpp
@@ -63,11 +63,7 @@ void FTNoIR_Protocol::loadSettings() {
}
-void FTNoIR_Protocol::sendHeadposeToGame( double *headpose, double *rawheadpose ) {
- int no_bytes;
- QHostAddress sender;
- quint16 senderPort;
-
+void FTNoIR_Protocol::sendHeadposeToGame(const double* headpose) {
FlightData.x = headpose[TX] * 1e-2;
FlightData.y = headpose[TY] * 1e-2;
FlightData.z = headpose[TZ] * 1e-2;