Use a valid interval for the interrupt endpoint in the CDC/ACM driver

This commit is contained in:
Gregory Nutt 2013-09-22 11:35:44 -06:00
parent 8a1e33cb10
commit f22e60c392
2 changed files with 5 additions and 1 deletions

View file

@ -5613,4 +5613,8 @@
* 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
(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).

View file

@ -222,7 +222,7 @@ static const struct usb_epdesc_s g_epintindesc =
LSBYTE(CONFIG_CDCACM_EPINTIN_FSSIZE), /* maxpacket (full speed) */
MSBYTE(CONFIG_CDCACM_EPINTIN_FSSIZE)
},
0xff /* interval */
10 /* interval */
};
/* Data interface descriptor */