diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-02-13 20:55:57 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-02-13 20:55:57 +0000 |
commit | dd6a0b3ccdd62873e1cb874969741e3fb683db4b (patch) | |
tree | 7cfc6331e32929b1930d20f828e1bb1d53ae25bb /testhal | |
parent | f67eb2c108183bc6f037c0cabb95dbd5995207ca (diff) | |
download | ChibiOS-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')
-rw-r--r-- | testhal/STM32/USB_CDC/main.c | 8 |
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
};
/*
|