diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-01-08 14:37:43 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-01-08 14:37:43 +0100 |
commit | 901a9dcf29edcd89115f2c5cc2729790a854c93c (patch) | |
tree | aa7d8a06a21633679f950b290acdd1ee6c8f9002 /ftnoir_protocol_ft | |
parent | d62fe231f17ba508b35243a6891ac999791343f1 (diff) |
don't increment dataid twice
Diffstat (limited to 'ftnoir_protocol_ft')
-rw-r--r-- | ftnoir_protocol_ft/ftnoir_protocol_ft.cpp | 2 |
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; |