mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-28 07:00:34 +08:00
tests: avoid using exit()
This commit is contained in:
@@ -82,7 +82,7 @@ int test_uart_loopback(int argc, char *argv[])
|
||||
}
|
||||
|
||||
printf("ERROR opening UART5, aborting..\n");
|
||||
exit(uart5);
|
||||
return 1;
|
||||
}
|
||||
|
||||
uint8_t sample_stdout_fd[] = {'C', 'O', 'U', 'N', 'T', ' ', '#', '\n'};
|
||||
|
||||
Reference in New Issue
Block a user