diff options
Diffstat (limited to 'payloads/libpayload/curses/pdcurses-backend')
-rw-r--r-- | payloads/libpayload/curses/pdcurses-backend/pdckbd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/payloads/libpayload/curses/pdcurses-backend/pdckbd.c b/payloads/libpayload/curses/pdcurses-backend/pdckbd.c index c872262fd3..6b5b7eade1 100644 --- a/payloads/libpayload/curses/pdcurses-backend/pdckbd.c +++ b/payloads/libpayload/curses/pdcurses-backend/pdckbd.c @@ -149,14 +149,14 @@ int PDC_get_key(void) #if IS_ENABLED(CONFIG_LP_PC_KEYBOARD) if ((curses_flags & F_ENABLE_CONSOLE) && - keyboard_havechar() && (c==0)) { + keyboard_havechar() && (c == 0)) { c = keyboard_getchar(); } #endif #if IS_ENABLED(CONFIG_LP_SERIAL_CONSOLE) if ((curses_flags & F_ENABLE_SERIAL) && - serial_havechar() && (c==0)) { + serial_havechar() && (c == 0)) { c = cook_serial(serial_getchar()); } #endif |