running astyle inside QtCreator doesn't guarantee that travis will pass

format checks
This commit is contained in:
Mark Whitehorn 2016-01-20 14:46:48 -07:00 committed by Lorenz Meier
parent 6cb631716a
commit 99286db832
1 changed files with 2 additions and 1 deletions

View File

@ -232,8 +232,9 @@ static int sPort_telemetry_thread_main(int argc, char *argv[])
break;
}
/* TODO: flush the input buffer if in full duplex mode */
read(uart, &sbuf[0], sizeof(sbuf));
read(uart, &sbuf[0], sizeof(sbuf));
}
/* Reset the UART flags to original state */