mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
Use a valid interval for the interrupt endpoint in the CDC/ACM driver
This commit is contained in:
@@ -5613,4 +5613,8 @@
|
|||||||
* arch/arm/src/armv7-a/cp15_clean_dcache.S and cp15_flush_dcache.S:
|
* arch/arm/src/armv7-a/cp15_clean_dcache.S and cp15_flush_dcache.S:
|
||||||
fix an error in the alignment of addresses to cache line boundaries
|
fix an error in the alignment of addresses to cache line boundaries
|
||||||
(2013-9-21).
|
(2013-9-21).
|
||||||
|
* drivers/usbdev/cdcacm_desc.c: Change the interval for the interrupt
|
||||||
|
endpoint from 0xff (invalid) to 10. This is not a critical change
|
||||||
|
but will avoid a complaint from the Linux driver when it overrides
|
||||||
|
the 0xff value (2013-9-22).
|
||||||
|
|
||||||
|
|||||||
@@ -222,7 +222,7 @@ static const struct usb_epdesc_s g_epintindesc =
|
|||||||
LSBYTE(CONFIG_CDCACM_EPINTIN_FSSIZE), /* maxpacket (full speed) */
|
LSBYTE(CONFIG_CDCACM_EPINTIN_FSSIZE), /* maxpacket (full speed) */
|
||||||
MSBYTE(CONFIG_CDCACM_EPINTIN_FSSIZE)
|
MSBYTE(CONFIG_CDCACM_EPINTIN_FSSIZE)
|
||||||
},
|
},
|
||||||
0xff /* interval */
|
10 /* interval */
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Data interface descriptor */
|
/* Data interface descriptor */
|
||||||
|
|||||||
Reference in New Issue
Block a user