Browse Source

fix test_uart_loopback: 0 is a valid file descriptor

sbg
Beat Küng 8 years ago
parent
commit
000d965a5e
  1. 2
      src/systemcmds/tests/test_uart_loopback.c

2
src/systemcmds/tests/test_uart_loopback.c

@ -76,7 +76,7 @@ int test_uart_loopback(int argc, char *argv[]) @@ -76,7 +76,7 @@ int test_uart_loopback(int argc, char *argv[])
}
if (uart5 < 0) {
if (uart2 > 0) {
if (uart2 >= 0) {
close(uart2);
}

Loading…
Cancel
Save