summaryrefslogtreecommitdiff
path: root/components/drivers/usb/usbhost/class
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-12-20 07:25:19 +0000
committer[email protected] <[email protected]>2012-12-20 07:25:19 +0000
commit0e40d55d9f6894aec2dfc844e8ea89756b0306fe (patch)
tree6e8b5aeb4b1c4e9dc424918a1a9a2f9439c7ee2b /components/drivers/usb/usbhost/class
parentba4aa585a464893b01279d8724142002930f73b7 (diff)
fixed the coding style of RT_DEBUG_LOG
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2500 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/drivers/usb/usbhost/class')
-rw-r--r--components/drivers/usb/usbhost/class/adk.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/components/drivers/usb/usbhost/class/adk.c b/components/drivers/usb/usbhost/class/adk.c
index 208d70a090..0f1d409793 100644
--- a/components/drivers/usb/usbhost/class/adk.c
+++ b/components/drivers/usb/usbhost/class/adk.c
@@ -223,7 +223,7 @@ static rt_err_t rt_usb_adk_run(void* arg)
return -RT_EIO;
}
- RT_DEBUG_LOG(RT_DEBUG_USB,("rt_usb_adk_run\n"));
+ RT_DEBUG_LOG(RT_DEBUG_USB, ("rt_usb_adk_run\n"));
dev_desc = &ifinst->uinst->dev_desc;
if(dev_desc->idVendor == USB_ACCESSORY_VENDOR_ID &&
@@ -232,11 +232,11 @@ static rt_err_t rt_usb_adk_run(void* arg)
{
if(ifinst->intf_desc->bInterfaceSubClass != 0xFF) return -RT_ERROR;
- RT_DEBUG_LOG(RT_DEBUG_USB,("found android accessory device\n"));
+ RT_DEBUG_LOG(RT_DEBUG_USB, ("found android accessory device\n"));
}
else
{
- RT_DEBUG_LOG(RT_DEBUG_USB,("switch device\n"));
+ RT_DEBUG_LOG(RT_DEBUG_USB, ("switch device\n"));
if((ret = rt_usb_adk_get_protocol(ifinst, &protocol)) != RT_EOK)
{
@@ -263,12 +263,12 @@ static rt_err_t rt_usb_adk_run(void* arg)
rt_usb_adk_send_string(ifinst,
ACCESSORY_STRING_SERIAL, _adk_serial);
- RT_DEBUG_LOG(RT_DEBUG_USB,("manufacturer %s\n", _adk_manufacturer));
- RT_DEBUG_LOG(RT_DEBUG_USB,("model %s\n", _adk_model));
- RT_DEBUG_LOG(RT_DEBUG_USB,("description %s\n", _adk_description));
- RT_DEBUG_LOG(RT_DEBUG_USB,("version %s\n", _adk_version));
- RT_DEBUG_LOG(RT_DEBUG_USB,("uri %s\n", _adk_uri));
- RT_DEBUG_LOG(RT_DEBUG_USB,("serial %s\n", _adk_serial));
+ RT_DEBUG_LOG(RT_DEBUG_USB, ("manufacturer %s\n", _adk_manufacturer));
+ RT_DEBUG_LOG(RT_DEBUG_USB, ("model %s\n", _adk_model));
+ RT_DEBUG_LOG(RT_DEBUG_USB, ("description %s\n", _adk_description));
+ RT_DEBUG_LOG(RT_DEBUG_USB, ("version %s\n", _adk_version));
+ RT_DEBUG_LOG(RT_DEBUG_USB, ("uri %s\n", _adk_uri));
+ RT_DEBUG_LOG(RT_DEBUG_USB, ("serial %s\n", _adk_serial));
if((ret = rt_usb_adk_start(ifinst)) != RT_EOK)
{