mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-14 16:46:23 +00:00
ee7850b50fb73a68460e25217f8b5ebd812d6045
ec3po writes to the user pty, which may or may not be open. Since ptys have limited buffer space, we need to avoid writing to them if they will never be drained. ec3po now looks for HUP to indicate whether the pts is opened or closed, and reads/writes accordingly. BRANCH=None BUG=b:76111225 TEST=dut-control ec_board:fizz x 400 Change-Id: Icbecb2e42b261659a006eb1b9fc6dd73490a2218 Signed-off-by: Nick Sanders <nsanders@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1014792 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
For an overview of the Embedded Controller firmware, refer to http://www.chromium.org/chromium-os/2014-firmware-summit For instructions on building from source, refer to http://www.chromium.org/chromium-os/ec-development/getting-started-building-ec-images-quickly
Description
Languages
C
64.7%
Lasso
20.7%
ASL
3.6%
JavaScript
3.2%
C#
2.9%
Other
4.6%