Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
Diff: targets/TARGET_STM/TARGET_STM32F7/device/stm32f7xx_ll_usb.c
- Revision:
- 153:fa9ff456f731
- Parent:
- 149:156823d33999
- Child:
- 157:ff67d9f36b67
--- a/targets/TARGET_STM/TARGET_STM32F7/device/stm32f7xx_ll_usb.c Thu Dec 15 11:48:27 2016 +0000 +++ b/targets/TARGET_STM/TARGET_STM32F7/device/stm32f7xx_ll_usb.c Tue Dec 20 17:27:56 2016 +0000 @@ -594,7 +594,7 @@ /* Enable the Tx FIFO Empty Interrupt for this EP */ if (ep->xfer_len > 0) { - USBx_DEVICE->DIEPEMPMSK |= 1 << ep->num; + atomic_set_u32(&USBx_DEVICE->DIEPEMPMSK, 1 << ep->num); } } } @@ -712,7 +712,7 @@ /* Enable the Tx FIFO Empty Interrupt for this EP */ if (ep->xfer_len > 0) { - USBx_DEVICE->DIEPEMPMSK |= 1 << (ep->num); + atomic_set_u32(&USBx_DEVICE->DIEPEMPMSK, 1 << (ep->num)); } }