]> git.itanic.dy.fi Git - log-plotter/commit - main.c
main: Add missing EOF check to serial read
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Fri, 4 Oct 2013 19:52:33 +0000 (22:52 +0300)
committerTimo Kokkonen <timo.t.kokkonen@iki.fi>
Fri, 4 Oct 2013 19:53:52 +0000 (22:53 +0300)
commit14e1f568461b564c1fee79a0256817fc041bc3f2
treedabb76aefe3b5fce57b4dabb768e5560799f7076
parent9719680d66d26ab962426dc75672f0f9d049ba18
main: Add missing EOF check to serial read

If we got EOF from the serial port, close it and exit. Nothing more to
do.

Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
main.c