Skip to content

Commit

Permalink
Enable proper SOF interrupts for USB-OTG
Browse files Browse the repository at this point in the history
  • Loading branch information
GrumpyOldPizza committed Feb 25, 2017
1 parent 43bdca7 commit 169038d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Binary file modified system/STM32L4xx/Lib/libstm32l432.a
Binary file not shown.
Binary file modified system/STM32L4xx/Lib/libstm32l433.a
Binary file not shown.
Binary file modified system/STM32L4xx/Lib/libstm32l476.a
Binary file not shown.
4 changes: 2 additions & 2 deletions system/STM32L4xx/Source/USB/usbd_conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ USBD_StatusTypeDef USBD_LL_Init(USBD_HandleTypeDef *pdev)
hpcd.Init.lpm_enable = 0;
hpcd.Init.battery_charging_enable = 0;
hpcd.Init.phy_itface = PCD_PHY_EMBEDDED;
hpcd.Init.Sof_enable = 0;
hpcd.Init.Sof_enable = 1;
hpcd.Init.speed = PCD_SPEED_FULL;
hpcd.Init.vbus_sensing_enable = 1;
/* Link The driver to the stack */
Expand All @@ -542,7 +542,7 @@ USBD_StatusTypeDef USBD_LL_Init(USBD_HandleTypeDef *pdev)
hpcd.Init.speed = PCD_SPEED_FULL;
hpcd.Init.ep0_mps = DEP0CTL_MPS_64;
hpcd.Init.phy_itface = PCD_PHY_EMBEDDED;
hpcd.Init.Sof_enable = 0;
hpcd.Init.Sof_enable = 1;
hpcd.Init.low_power_enable = 0;
hpcd.Init.lpm_enable = 0;
hpcd.Init.battery_charging_enable = 0;
Expand Down

0 comments on commit 169038d

Please sign in to comment.