Fixes to keypadtest from Pierre-Noel Bouteville
This commit is contained in:
parent
65d482a3d2
commit
4a0449601d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user