summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/usb_kbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/usb_kbd.c b/common/usb_kbd.c
index dbdfe0d..69939f0 100644
--- a/common/usb_kbd.c
+++ b/common/usb_kbd.c
@@ -133,7 +133,7 @@ static int usb_kbd_testc(void)
static int usb_kbd_getc(void)
{
char c;
- while (usb_in_pointer == usb_out_pointer)
+ while (usb_in_pointer == usb_out_pointer) {
#ifdef CONFIG_SYS_USB_EVENT_POLL
usb_event_poll();
#endif