Update main.c

pull/58/head
alanbjohnston 5 years ago committed by GitHub
parent d6480d9dbb
commit e28e5d58f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1050,7 +1050,7 @@ if (payload == ON)
for (count1 = 0; count1 < 7; count1++) // skipping over BME280 data for (count1 = 0; count1 < 7; count1++) // skipping over BME280 data
{ {
if (token != NULL) if (token != NULL)
if (count1 == 1) if (count1 == 2)
RXTemperature = atof(token); RXTemperature = atof(token);
token = strtok(NULL, space); token = strtok(NULL, space);
} }

Loading…
Cancel
Save

Powered by TurnKey Linux.