aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-02-13 20:55:57 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-02-13 20:55:57 +0000
commitdd6a0b3ccdd62873e1cb874969741e3fb683db4b (patch)
tree7cfc6331e32929b1930d20f828e1bb1d53ae25bb /testhal/STM32
parentf67eb2c108183bc6f037c0cabb95dbd5995207ca (diff)
downloadChibiOS-dd6a0b3ccdd62873e1cb874969741e3fb683db4b.tar.gz
ChibiOS-dd6a0b3ccdd62873e1cb874969741e3fb683db4b.tar.bz2
ChibiOS-dd6a0b3ccdd62873e1cb874969741e3fb683db4b.zip
Implemented automatic allocation in the packet memory of the STM32 USB driver, no need to specify addresses anymore.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2737 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32')
-rw-r--r--testhal/STM32/USB_CDC/main.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/testhal/STM32/USB_CDC/main.c b/testhal/STM32/USB_CDC/main.c
index 05c8fa11a..00f0d0e66 100644
--- a/testhal/STM32/USB_CDC/main.c
+++ b/testhal/STM32/USB_CDC/main.c
@@ -255,8 +255,6 @@ static const USBEndpointConfig ep1config = {
sduDataTransmitted,
NULL,
0x0040,
- 0x0000,
- 0x00C0,
0x0000
};
@@ -268,8 +266,6 @@ static const USBEndpointConfig ep2config = {
sduInterruptTransmitted,
NULL,
0x0010,
- 0x0000,
- 0x0100,
0x0000
};
@@ -281,9 +277,7 @@ static const USBEndpointConfig ep3config = {
NULL,
sduDataReceived,
0x0000,
- 0x0040,
- 0x0000,
- 0x0110
+ 0x0040
};
/*