Skip to content
Snippets Groups Projects
Commit 7b7da618 authored by Mark Whitehorn's avatar Mark Whitehorn Committed by Lorenz Meier
Browse files

format and disable some warnx output

parent 81ae5cbd
No related branches found
No related tags found
No related merge requests found
......@@ -198,11 +198,12 @@ static int frsky_telemetry_thread_main(int argc, char *argv[])
*/
int status = poll(fds, sizeof(fds) / sizeof(fds[0]), 3000);
// warnx("poll status: %u", status);
if (status > 0) {
/* received some data; check size of packet */
usleep(5000);
status = read(uart, &sbuf[0], sizeof(sbuf));
warnx("received %u bytes", status);
// warnx("received %u bytes", status);
}
if (status > 0 && status < 3) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment