mirror of
https://github.com/apache/nuttx.git
synced 2026-09-25 01:07:40 +08:00
drivers/usbhost: Backout some overly aggressive changes made in commit to removed CONFIG_DISABLE_POLL.
This commit is contained in:
@@ -80,7 +80,7 @@
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
/* Configuration ************************************************************/
|
||||
|
||||
/* This determines how often the USB keyboard will be polled in units of
|
||||
@@ -344,8 +344,8 @@ static const struct usbhost_id_s g_hidkbd_id =
|
||||
USB_CLASS_HID, /* base */
|
||||
USBHID_SUBCLASS_BOOTIF, /* subclass */
|
||||
USBHID_PROTOCOL_KEYBOARD, /* proto */
|
||||
NULL, /* vid */
|
||||
NULL /* pid */
|
||||
0, /* vid */
|
||||
0 /* pid */
|
||||
};
|
||||
|
||||
/* This is the USB host storage class's registry entry */
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
/* Configuration ************************************************************/
|
||||
|
||||
/* Worker thread is needed, unfortunately, to handle some cornercase failure
|
||||
@@ -396,8 +396,8 @@ static const const struct usbhost_id_s g_hidmouse_id =
|
||||
USB_CLASS_HID, /* base */
|
||||
USBHID_SUBCLASS_BOOTIF, /* subclass */
|
||||
USBHID_PROTOCOL_MOUSE, /* proto */
|
||||
NULL, /* vid */
|
||||
NULL /* pid */
|
||||
0, /* vid */
|
||||
0 /* pid */
|
||||
};
|
||||
|
||||
/* This is the USB host storage class's registry entry */
|
||||
|
||||
Reference in New Issue
Block a user