This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 5d2c7fc05c4705f62c820ce038a1876a46cb0201
Author: raiden00pl <[email protected]>
AuthorDate: Thu Nov 19 13:05:29 2026 +0100

    drivers/input/virtio_key_decode: Fix the KEY_ESC case indentation.
    
    nxstyle reported "Bad alignment" for the KEY_ESC case.
    
    Assisted-by: Claude:claude-opus-5-5
    Signed-off-by: raiden00pl <[email protected]>
---
 drivers/input/virtio_key_decode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/input/virtio_key_decode.c 
b/drivers/input/virtio_key_decode.c
index 6d8f51cbca6..4e9fd7879cf 100644
--- a/drivers/input/virtio_key_decode.c
+++ b/drivers/input/virtio_key_decode.c
@@ -149,7 +149,7 @@ uint32_t keyboard_translate_virtio_code(uint16_t keycode, 
bool *special)
   *special = false;
   switch (keycode)
     {
-       case KEY_ESC:
+      case KEY_ESC:
         return '\e';
       case KEY_1:
         return '1';

Reply via email to