diff options
Diffstat (limited to 'pipe_image.c')
-rw-r--r-- | pipe_image.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pipe_image.c b/pipe_image.c index 01510a5..03d2c8f 100644 --- a/pipe_image.c +++ b/pipe_image.c @@ -15,7 +15,7 @@ int main(int argc, const char **argv) { const char *image_file_name = "kernel7.img"; _Bool stdout_instead_of_uart = 0; - + if (argc > 1) if (!strcmp(argv[1], "--stdout")) { @@ -90,7 +90,6 @@ int main(int argc, const char **argv) { bytes_left -= bytes_read; } - if (!stdout_instead_of_uart) RS232_CloseComport(comport); |