From 8dbc43f8e4580485ba86ee0080f379e9b5882915 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Mon, 24 Aug 2020 12:43:22 -0400 Subject: [PATCH] skipping over BME280 data --- afsk/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/afsk/main.c b/afsk/main.c index 22c0e246..44c0598a 100644 --- a/afsk/main.c +++ b/afsk/main.c @@ -919,7 +919,7 @@ if (payload == ON) float gyroX, gyroY, gyroZ; - for (count1 = 0; count1 < 8; count1++) // skip over BME280 data to get to X, Y, and Z Gyro data + for (count1 = 0; count1 < 7; count1++) // skip over BME280 data to get to X, Y, and Z Gyro data { // voltage[count1] = atof(token); // printf("token %s ", token); @@ -1263,7 +1263,7 @@ if (payload == ON) float gyroX, gyroY, gyroZ; - for (count1 = 0; count1 < 6; count1++) + for (count1 = 0; count1 < 7; count1++) // skipping over BME280 data { // voltage[count1] = atof(token); // printf("token %s ", token);