diff options
Diffstat (limited to 'os/hal/platforms')
-rw-r--r-- | os/hal/platforms/STM32/OTGv1/usb_lld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/platforms/STM32/OTGv1/usb_lld.c b/os/hal/platforms/STM32/OTGv1/usb_lld.c index 327fe17d3..2a6399511 100644 --- a/os/hal/platforms/STM32/OTGv1/usb_lld.c +++ b/os/hal/platforms/STM32/OTGv1/usb_lld.c @@ -71,7 +71,7 @@ static union { /**
* @brief Buffer for the EP0 setup packets.
*/
-static uint8_t ep8setup_buffer[8];
+static uint8_t ep0setup_buffer[8];
/**
* @brief EP0 initialization structure.
@@ -85,7 +85,7 @@ static const USBEndpointConfig ep0config = { 0x40,
&ep0_state.in,
&ep0_state.out,
- ep8setup_buffer
+ ep0setup_buffer
};
/*===========================================================================*/
|