Update main.c

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

@ -1050,12 +1050,11 @@ if (payload == ON)
for (count1 = 0; count1 < 7; count1++) // skipping over BME280 data
{
if (token != NULL)
if (count1 == 1)
RXTemperature = atof(token);
token = strtok(NULL, space);
if (count1 == 3)
// RXTemperature = atof(token);
printf("RXTemperature: %s \n", token);
}
printf("RXTemperature: %s \n", token);
if (token != NULL)
{

Loading…
Cancel
Save

Powered by TurnKey Linux.