A copy of the mbed USBDevice with USBSerial library
Dependents: STM32L0_LoRa Smartage STM32L0_LoRa Turtle_RadioShuttle
Revision 7:8a5cc0d9bfa2, committed 2019-01-31
- Comitter:
- Helmut Tschemernjak
- Date:
- Thu Jan 31 20:56:55 2019 +0100
- Parent:
- 6:1f27c2a2b4de
- Child:
- 8:961423d1da74
- Commit message:
- fixed compiler warnings
Changed in this revision
| targets/TARGET_STM/USBHAL_STM32.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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) {
Helmut Tschemernjak