Modified F0: testbrd, CDC, pl2303 and HID

This commit is contained in:
eddyem
2020-04-08 14:53:18 +03:00
parent 10ad505bda
commit 100885c113
18 changed files with 235 additions and 456 deletions

Binary file not shown.

View File

@@ -377,7 +377,6 @@ int EP_Init(uint8_t number, uint8_t type, uint16_t txsz, uint16_t rxsz, void (*f
return 0;
}
//extern int8_t dump;
// standard IRQ handler
void usb_lp_can_rx0_isr(){
if(USB->ISTR & USB_ISTR_RESET){
@@ -480,7 +479,3 @@ int EP_Read(uint8_t number, uint16_t *buf){
return sz;
}
// USB status
uint8_t USB_GetState(){
return USB_Dev.USB_Status;
}