diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-10-23 18:09:58 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-10-23 18:09:58 -0600 |
commit | 1a105798bc9b6c48656e8fcd1d135e6dab916ea6 (patch) | |
tree | ae96108205a3c6a6b93a1484dd1d474b39fe623c /apps/examples | |
parent | 0ae4a136ff5b4713d1fa2b595ef672ab4da1b953 (diff) | |
download | px4-nuttx-1a105798bc9b6c48656e8fcd1d135e6dab916ea6.tar.gz px4-nuttx-1a105798bc9b6c48656e8fcd1d135e6dab916ea6.tar.bz2 px4-nuttx-1a105798bc9b6c48656e8fcd1d135e6dab916ea6.zip |
Fixes to keypadtest from Pierre-Noel Bouteville
Diffstat (limited to 'apps/examples')
-rw-r--r-- | apps/examples/keypadtest/keypadtest_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/keypadtest/keypadtest_main.c b/apps/examples/keypadtest/keypadtest_main.c index b39ce71c9..9d0343b9a 100644 --- a/apps/examples/keypadtest/keypadtest_main.c +++ b/apps/examples/keypadtest/keypadtest_main.c @@ -51,6 +51,8 @@ #include <nuttx/input/keypad.h> #ifdef CONFIG_EXAMPLES_KEYPADTEST_ENCODED +# include <string.h> +# include <ctype.h> # include <nuttx/streams.h> # include <nuttx/input/kbd_codec.h> #endif @@ -182,6 +184,8 @@ static void keypad_decode(FAR char *buffer, ssize_t nbytes) break; } } + + fflush(stdout); } #endif |