[USBH] fix the spelling wrong

This commit is contained in:
Bernard Xiong 2015-03-19 08:52:28 +00:00
parent 841fe30d8c
commit 767c16d596
3 changed files with 13 additions and 13 deletions

View File

@ -67,7 +67,7 @@ RTM_EXPORT(rt_usbh_adk_set_string);
*/
static rt_err_t rt_usbh_adk_get_protocol(struct uintf* intf, rt_uint16_t *protocol)
{
struct ureqest setup;
struct urequest setup;
uinst_t device;
int timeout = 100;
@ -101,7 +101,7 @@ static rt_err_t rt_usbh_adk_get_protocol(struct uintf* intf, rt_uint16_t *protoc
static rt_err_t rt_usbh_adk_send_string(struct uintf* intf, rt_uint16_t index,
const char* str)
{
struct ureqest setup;
struct urequest setup;
uinst_t device;
int timeout = 100;
@ -134,7 +134,7 @@ static rt_err_t rt_usbh_adk_send_string(struct uintf* intf, rt_uint16_t index,
*/
static rt_err_t rt_usbh_adk_start(struct uintf* intf)
{
struct ureqest setup;
struct urequest setup;
uinst_t device;
int timeout = 100;

View File

@ -246,7 +246,7 @@ rt_err_t rt_usbh_detach_instance(uinst_t device)
rt_err_t rt_usbh_get_descriptor(uinst_t device, rt_uint8_t type, void* buffer,
int nbytes)
{
struct ureqest setup;
struct urequest setup;
int timeout = 100;
RT_ASSERT(device != RT_NULL);
@ -272,7 +272,7 @@ rt_err_t rt_usbh_get_descriptor(uinst_t device, rt_uint8_t type, void* buffer,
*/
rt_err_t rt_usbh_set_address(uinst_t device)
{
struct ureqest setup;
struct urequest setup;
int timeout = 100;
RT_ASSERT(device != RT_NULL);
@ -306,7 +306,7 @@ rt_err_t rt_usbh_set_address(uinst_t device)
*/
rt_err_t rt_usbh_set_configure(uinst_t device, int config)
{
struct ureqest setup;
struct urequest setup;
int timeout = 100;
/* check parameter */
@ -335,7 +335,7 @@ rt_err_t rt_usbh_set_configure(uinst_t device, int config)
*/
rt_err_t rt_usbh_set_interface(uinst_t device, int intf)
{
struct ureqest setup;
struct urequest setup;
int timeout = 100;
/* check parameter */
@ -364,7 +364,7 @@ rt_err_t rt_usbh_set_interface(uinst_t device, int intf)
*/
rt_err_t rt_usbh_clear_feature(uinst_t device, int endpoint, int feature)
{
struct ureqest setup;
struct urequest setup;
int timeout = 100;
/* check parameter */

View File

@ -43,7 +43,7 @@ static struct uclass_driver hub_driver;
rt_err_t rt_usbh_hub_get_descriptor(struct uinstance* device, rt_uint8_t *buffer,
rt_size_t nbytes)
{
struct ureqest setup;
struct urequest setup;
int timeout = 100;
/* parameter check */
@ -72,7 +72,7 @@ rt_err_t rt_usbh_hub_get_descriptor(struct uinstance* device, rt_uint8_t *buffer
*/
rt_err_t rt_usbh_hub_get_status(struct uinstance* device, rt_uint8_t* buffer)
{
struct ureqest setup;
struct urequest setup;
int timeout = 100;
int length = 4;
@ -104,7 +104,7 @@ rt_err_t rt_usbh_hub_get_status(struct uinstance* device, rt_uint8_t* buffer)
rt_err_t rt_usbh_hub_get_port_status(uhub_t hub, rt_uint16_t port,
rt_uint8_t* buffer)
{
struct ureqest setup;
struct urequest setup;
int timeout = 100;
int length = 4;
@ -144,7 +144,7 @@ rt_err_t rt_usbh_hub_get_port_status(uhub_t hub, rt_uint16_t port,
rt_err_t rt_usbh_hub_clear_port_feature(uhub_t hub, rt_uint16_t port,
rt_uint16_t feature)
{
struct ureqest setup;
struct urequest setup;
int timeout = 100;
/* parameter check */
@ -183,7 +183,7 @@ rt_err_t rt_usbh_hub_clear_port_feature(uhub_t hub, rt_uint16_t port,
rt_err_t rt_usbh_hub_set_port_feature(uhub_t hub, rt_uint16_t port,
rt_uint16_t feature)
{
struct ureqest setup;
struct urequest setup;
int timeout = 100;
/* parameter check */