fix NVIC disable typo

This commit is contained in:
hathach 2020-07-03 01:19:02 +07:00
parent 4cec866994
commit a09a86d299
No known key found for this signature in database
GPG Key ID: 2FA891220FBFD581
1 changed files with 2 additions and 2 deletions

View File

@ -340,7 +340,7 @@ static bool USB_HS_PHYCInit(void)
usb_hs_phyc->USB_HS_PHYC_PLL = phyc_pll;
// Control the tuning interface of the High Speed PHY
// Use magic value from ST driver
// Use magic value (USB_HS_PHYC_TUNE_VALUE) from ST driver
usb_hs_phyc->USB_HS_PHYC_TUNE |= 0x00000F13U;
// Enable PLL internal PHY
@ -473,7 +473,7 @@ void dcd_int_enable (uint8_t rhport)
void dcd_int_disable (uint8_t rhport)
{
NVIC_EnableIRQ(_dcd_rhport[rhport].irqnum);
NVIC_DisableIRQ(_dcd_rhport[rhport].irqnum);
}
void dcd_set_address (uint8_t rhport, uint8_t dev_addr)