mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-21 21:41:09 +00:00
fix NVIC disable typo
This commit is contained in:
parent
4cec866994
commit
a09a86d299
@ -340,7 +340,7 @@ static bool USB_HS_PHYCInit(void)
|
|||||||
usb_hs_phyc->USB_HS_PHYC_PLL = phyc_pll;
|
usb_hs_phyc->USB_HS_PHYC_PLL = phyc_pll;
|
||||||
|
|
||||||
// Control the tuning interface of the High Speed PHY
|
// 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;
|
usb_hs_phyc->USB_HS_PHYC_TUNE |= 0x00000F13U;
|
||||||
|
|
||||||
// Enable PLL internal PHY
|
// Enable PLL internal PHY
|
||||||
@ -473,7 +473,7 @@ void dcd_int_enable (uint8_t rhport)
|
|||||||
|
|
||||||
void dcd_int_disable (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)
|
void dcd_set_address (uint8_t rhport, uint8_t dev_addr)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user