Skip to content

Commit

Permalink
[fix] add missing serial flags
Browse files Browse the repository at this point in the history
  • Loading branch information
edchapman88 committed Feb 3, 2025
1 parent 7a4059f commit 029219a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/serial.ml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ let set_baud fd rate =
c_obaud = rate;
c_echo = false;
c_icanon = false;
c_vtime = 5;
c_clocal = true;
})

(** Convenience function to map an ['a lwt.t] to an [('a, string) result lwt.t]. Rejected promises are mapped to [Error]; fulfilled promises to [Ok]. *)
Expand Down

0 comments on commit 029219a

Please sign in to comment.