summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_ft
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-01-08 14:37:43 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-01-08 14:37:43 +0100
commit901a9dcf29edcd89115f2c5cc2729790a854c93c (patch)
treeaa7d8a06a21633679f950b290acdd1ee6c8f9002 /ftnoir_protocol_ft
parentd62fe231f17ba508b35243a6891ac999791343f1 (diff)
don't increment dataid twice
Diffstat (limited to 'ftnoir_protocol_ft')
-rw-r--r--ftnoir_protocol_ft/ftnoir_protocol_ft.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp b/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp
index 08d41897..312cf127 100644
--- a/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp
+++ b/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp
@@ -71,7 +71,7 @@ void FTNoIR_Protocol::pose(const double* headpose) {
pMemData->data.Pitch = pitch;
pMemData->data.Roll = roll;
- pMemData->data.X1 = ++pMemData->data.DataID;
+ pMemData->data.X1 = pMemData->data.DataID;
pMemData->data.X2 = 0;
pMemData->data.X3 = 0;
pMemData->data.X4 = 0;