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>
|
#include <nuttx/input/keypad.h>
|
||||||
|
|
||||||
#ifdef CONFIG_EXAMPLES_KEYPADTEST_ENCODED
|
#ifdef CONFIG_EXAMPLES_KEYPADTEST_ENCODED
|
||||||
|
# include <string.h>
|
||||||
|
# include <ctype.h>
|
||||||
# include <nuttx/streams.h>
|
# include <nuttx/streams.h>
|
||||||
# include <nuttx/input/kbd_codec.h>
|
# include <nuttx/input/kbd_codec.h>
|
||||||
#endif
|
#endif
|
||||||
@ -182,6 +184,8 @@ static void keypad_decode(FAR char *buffer, ssize_t nbytes)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fflush(stdout);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user