pull/53/head
alanbjohnston 5 years ago committed by GitHub
parent 6d756a766d
commit a3d0be8b3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -928,13 +928,13 @@ if (payload == ON)
// printf("current: %f\n", current[count1]); // printf("current: %f\n", current[count1]);
// token = strtok(NULL, space); // token = strtok(NULL, space);
} }
gyroX = atof(token) gyroX = atof(token);
printf("gyroX %d ", gyroX); printf("gyroX %d ", gyroX);
token = strtok(NULL, space); token = strtok(NULL, space);
gyroY = atof(token) gyroY = atof(token);
printf("gyroY %d ", gyroY); printf("gyroY %d ", gyroY);
token = strtok(NULL, space); token = strtok(NULL, space);
gyroZ = atof(token) gyroZ = atof(token);
printf("gyroZ %d \n", gyroZ); printf("gyroZ %d \n", gyroZ);
token = strtok(NULL, space); token = strtok(NULL, space);

Loading…
Cancel
Save

Powered by TurnKey Linux.