tests: avoid using exit()

This commit is contained in:
Beat Küng
2018-08-31 10:26:34 +02:00
parent 50cdb01141
commit 0dc8eeb118
2 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -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'};