aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/OTGv1
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-06-03 09:18:38 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-06-03 09:18:38 +0000
commit2e56d8e14eb9ffbcc533e5cb2484a6448ccb439a (patch)
tree320d1aa612741a7f0090ed083d2714ac58ccb057 /os/hal/platforms/STM32/OTGv1
parentb8d35693b4c7b88a746abb646dde8a7e09cf7bd4 (diff)
downloadChibiOS-2e56d8e14eb9ffbcc533e5cb2484a6448ccb439a.tar.gz
ChibiOS-2e56d8e14eb9ffbcc533e5cb2484a6448ccb439a.tar.bz2
ChibiOS-2e56d8e14eb9ffbcc533e5cb2484a6448ccb439a.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4258 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/OTGv1')
-rw-r--r--os/hal/platforms/STM32/OTGv1/usb_lld.c4
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
};
/*===========================================================================*/