From 9867c9cb36d4d3b21910b374bab3c273c4ff0812 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 12 Dec 2020 13:03:09 -0500 Subject: [PATCH] typo --- afsk/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/afsk/main.c b/afsk/main.c index 65f72c7b..e8a51e71 100644 --- a/afsk/main.c +++ b/afsk/main.c @@ -1390,7 +1390,7 @@ if (payload == ON) const char space[2] = " "; token = strtok(sensor_payload, space); - float gyroX, gyroY, gyroZ; +// float gyroX, gyroY, gyroZ; /* for (count1 = 0; count1 < 7; count1++) // skipping over BME280 data { @@ -1526,9 +1526,9 @@ if (payload == ON) } } - xAngularVelocity = (int)(gyroX + 0.5) + 2048; - yAngularVelocity = (int)(gyroY + 0.5) + 2048; - zAngularVelocity = (int)(gyroZ + 0.5) + 2048; +// xAngularVelocity = (int)(gyroX + 0.5) + 2048; +// yAngularVelocity = (int)(gyroY + 0.5) + 2048; +// zAngularVelocity = (int)(gyroZ + 0.5) + 2048; } encodeA(b, 0 + head_offset, batt_a_v);