mirror of
https://github.com/apache/nuttx.git
synced 2026-09-27 18:58:27 +08:00
NuttX: Fix nxtyle errors
Fix errors reported by nxstyle Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
committed by
David Sidrane
parent
08e5378b11
commit
26fef3f6a1
@@ -106,8 +106,9 @@ void kbd_release(uint8_t ch, FAR struct lib_outstream_s *stream)
|
||||
void kbd_specpress(enum kbd_keycode_e keycode,
|
||||
FAR struct lib_outstream_s *stream)
|
||||
{
|
||||
DEBUGASSERT(stream && keycode >=
|
||||
KEYCODE_FWDDEL && keycode <= LAST_KEYCODE);
|
||||
DEBUGASSERT(stream &&
|
||||
keycode >= KEYCODE_FWDDEL &&
|
||||
keycode <= LAST_KEYCODE);
|
||||
kbd_encode((uint8_t)keycode, stream, ('a' + KBD_SPECPRESS));
|
||||
}
|
||||
|
||||
@@ -131,7 +132,8 @@ void kbd_specpress(enum kbd_keycode_e keycode,
|
||||
void kbd_specrel(enum kbd_keycode_e keycode,
|
||||
FAR struct lib_outstream_s *stream)
|
||||
{
|
||||
DEBUGASSERT(stream && keycode >=
|
||||
KEYCODE_FWDDEL && keycode <= LAST_KEYCODE);
|
||||
DEBUGASSERT(stream &&
|
||||
keycode >= KEYCODE_FWDDEL &&
|
||||
keycode <= LAST_KEYCODE);
|
||||
kbd_encode((uint8_t)keycode, stream, ('a' + KBD_SPECREL));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user