mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 02:53:33 +08:00
trivial code style cleanup round 2
This commit is contained in:
@@ -146,8 +146,9 @@ int test_uart_baudchange(int argc, char *argv[])
|
||||
/* uart2 -> */
|
||||
r = write(uart2, sample_uart2, sizeof(sample_uart2));
|
||||
|
||||
if (r > 0)
|
||||
if (r > 0) {
|
||||
uart2_nwrite += r;
|
||||
}
|
||||
}
|
||||
|
||||
close(uart2);
|
||||
|
||||
Reference in New Issue
Block a user