From 901a9dcf29edcd89115f2c5cc2729790a854c93c Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 8 Jan 2015 14:37:43 +0100 Subject: don't increment dataid twice --- ftnoir_protocol_ft/ftnoir_protocol_ft.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ftnoir_protocol_ft') 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; -- cgit v1.2.3