Merge branch 'master' into develop

This commit is contained in:
hathach
2019-07-22 19:23:48 +07:00
19 changed files with 1431 additions and 161 deletions
+4
View File
@@ -160,7 +160,11 @@ void dcd_init (uint8_t rhport)
USB_OTG_GINTMSK_USBSUSPM */;
// Enable pullup, enable peripheral.
#ifdef USB_OTG_GCCFG_VBDEN
USB_OTG_FS->GCCFG |= USB_OTG_GCCFG_VBDEN | USB_OTG_GCCFG_PWRDWN;
#else
USB_OTG_FS->GCCFG |= USB_OTG_GCCFG_VBUSBSEN | USB_OTG_GCCFG_PWRDWN;
#endif
}
void dcd_int_enable (uint8_t rhport)