technically, mouse + keyboard device demo also work on lpc13uxx

This commit is contained in:
hathach
2013-11-11 14:02:55 +07:00
parent 9a81cbcd59
commit d8f32a79fc
5 changed files with 8 additions and 6 deletions

View File

@@ -182,7 +182,7 @@ static void bus_reset(void)
{
memclr_(&dcd_data, sizeof(dcd_lpc13xx_data_t));
for(uint8_t ep_id = 2; ep_id < DCD_LPC13XX_QHD; ep_id++)
{
{ // disable all non-control endpoints on bus reset
dcd_data.qhd[ep_id][0].disable = dcd_data.qhd[ep_id][1].disable = 1;
}