mirror of
https://xff.cz/git/u-boot/
synced 2025-09-19 17:42:12 +02:00
common/usb_kbd.c: fix bug introduced in commit 00b7d6e
During the rebase of commit 00b7d6e
"USB: Squash checkpatch warnings
in usb_kbd.c" I missed a brace, resulting in a number of build errors.
Fix these.
Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
@@ -133,7 +133,7 @@ static int usb_kbd_testc(void)
|
|||||||
static int usb_kbd_getc(void)
|
static int usb_kbd_getc(void)
|
||||||
{
|
{
|
||||||
char c;
|
char c;
|
||||||
while (usb_in_pointer == usb_out_pointer)
|
while (usb_in_pointer == usb_out_pointer) {
|
||||||
#ifdef CONFIG_SYS_USB_EVENT_POLL
|
#ifdef CONFIG_SYS_USB_EVENT_POLL
|
||||||
usb_event_poll();
|
usb_event_poll();
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user