fix USB error

This commit is contained in:
eddyem
2019-07-12 12:31:08 +03:00
parent 20728db47f
commit 9a010dfa13
7 changed files with 806 additions and 806 deletions

View File

@@ -307,7 +307,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){
linecoding_handler((usb_LineCoding*)ep0databuf);
}