examples/gpio.c: fix getchar() not working in ssh term
authorBrendan Le Foll <brendan.le.foll@intel.com>
Tue, 10 Feb 2015 15:50:59 +0000 (15:50 +0000)
committerBrendan Le Foll <brendan.le.foll@intel.com>
Tue, 10 Feb 2015 15:50:59 +0000 (15:50 +0000)
commitb32507064d808a6df31bc3c0e35b0b98ab4fede8
tree4440f0b5585c3f7300cb21ba8d747475a128abcf
parentc1b96680c9ed89afb70d707589071b25ecfdce36
examples/gpio.c: fix getchar() not working in ssh term

This is obviously not a nice way to do input handling but it avoids having more
code in the samples than is really needed

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
examples/gpio.c