Skip to content

Commit

Permalink
Minor fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
interkosmos committed Mar 8, 2024
1 parent 5e3ae4a commit 816e571
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/serial/serial.f90
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ integer function serial_set_attributes(fd, speed, byte_size, stop_bits, parity,
tty%c_cflag = c_cflag
tty%c_iflag = c_iflag
tty%c_oflag = c_oflag
tty%c_lflag = c_lflag

tty%c_cc(VMIN) = 0 ! Read doesn't block.
tty%c_cc(VTIME) = int(timeout, kind=c_cc_t) ! Read timeout in 1/10 seconds.
Expand Down

0 comments on commit 816e571

Please sign in to comment.