summaryrefslogtreecommitdiff
path: root/components/drivers/usb/usbdevice/class
diff options
context:
space:
mode:
authorliruncong <[email protected]>2018-09-10 19:40:08 +0800
committerliruncong <[email protected]>2018-09-10 19:40:08 +0800
commit7b788014f78ef6a2f38f8c26824df7127a4db42b (patch)
tree3136b6b6d9e2d20d8d712b22265b51aad6657c42 /components/drivers/usb/usbdevice/class
parent95c36f32e20b9799907890cbb6d366ad783501b1 (diff)
修正drivers下,armclang编译时的警告或错误 注:vcom_tx_thread_entry下, if(!res & CDC_TX_HAS_DATE)应为bug.
Diffstat (limited to 'components/drivers/usb/usbdevice/class')
-rw-r--r--components/drivers/usb/usbdevice/class/cdc_vcom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/usb/usbdevice/class/cdc_vcom.c b/components/drivers/usb/usbdevice/class/cdc_vcom.c
index 049c211521..eaff09c5d7 100644
--- a/components/drivers/usb/usbdevice/class/cdc_vcom.c
+++ b/components/drivers/usb/usbdevice/class/cdc_vcom.c
@@ -849,7 +849,7 @@ static void vcom_tx_thread_entry(void* parameter)
{
continue;
}
- if(!res & CDC_TX_HAS_DATE)
+ if(!(res & CDC_TX_HAS_DATE))
{
continue;
}