A copy of the mbed USBDevice with USBSerial library
Dependents: STM32L0_LoRa Smartage STM32L0_LoRa Turtle_RadioShuttle
Diff: targets/TARGET_STM/USBHAL_STM32.cpp
- Revision:
- 7:8a5cc0d9bfa2
- Parent:
- 2:195554780c9b
--- a/targets/TARGET_STM/USBHAL_STM32.cpp Sun Jan 20 11:32:02 2019 +0100 +++ b/targets/TARGET_STM/USBHAL_STM32.cpp Thu Jan 31 20:56:55 2019 +0100 @@ -177,7 +177,7 @@ bool USBHAL::realiseEndpoint(uint8_t endpoint, uint32_t maxPacket, uint32_t flags) { uint32_t epIndex = EP_ADDR(endpoint); - uint32_t type; + uint32_t type = 0; uint32_t len; HAL_StatusTypeDef ret; switch (endpoint) {