Update main.c

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

@ -883,7 +883,7 @@ if (payload == ON)
serialPutchar (uart_fd, '?');
printf("Querying payload with ?\n");
waitTime = millis() + 500;
end = false;
end = FALSE;
while ((millis() < waitTime) && !end)
{
int chars = serialDataAvail (uart_fd);
@ -898,7 +898,7 @@ if (payload == ON)
}
else
{
end = true;
end = TRUE;
}
}
}

Loading…
Cancel
Save

Powered by TurnKey Linux.