fix USB error

This commit is contained in:
eddyem 2019-07-12 12:25:33 +03:00
parent 7e51e158e6
commit b0dccf956b

View File

@ -333,7 +333,7 @@ static uint16_t EP0_Handler(ep_t ep){
}
}else if (ep.rx_flag){ // got data over EP0 or host acknowlegement
if(ep.rx_cnt){
EP_WriteIRQ(0, (uint8_t *)0, 0);
// EP_WriteIRQ(0, (uint8_t *)0, 0);
if(setup_packet.bRequest == SET_LINE_CODING){
//WRITEDUMP("SET_LINE_CODING");
linecoding_handler((usb_LineCoding*)ep0databuf);