diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-01-05 11:15:40 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-01-05 11:15:40 +0000 |
commit | 64acf753c775e724040fea8d286903a1a497a04b (patch) | |
tree | 44a27f54667cc2963957397bbca027a699d67242 /testhal/STM32 | |
parent | 9f0af42da02531e9951b474018c63e3c2a9e1277 (diff) | |
download | ChibiOS-64acf753c775e724040fea8d286903a1a497a04b.tar.gz ChibiOS-64acf753c775e724040fea8d286903a1a497a04b.tar.bz2 ChibiOS-64acf753c775e724040fea8d286903a1a497a04b.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8692 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32')
-rw-r--r-- | testhal/STM32/STM32F7xx/USB_RAW/usbcfg.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/testhal/STM32/STM32F7xx/USB_RAW/usbcfg.c b/testhal/STM32/STM32F7xx/USB_RAW/usbcfg.c index 2c366c64d..803d1a059 100644 --- a/testhal/STM32/STM32F7xx/USB_RAW/usbcfg.c +++ b/testhal/STM32/STM32F7xx/USB_RAW/usbcfg.c @@ -15,7 +15,7 @@ */
#include "hal.h"
-
+#include "usb_cdc.h"
#include "usbcfg.h"
/*
@@ -283,20 +283,6 @@ static void usb_event(USBDriver *usbp, usbevent_t event) { return;
}
-#define CDC_SET_LINE_CODING 0x20
-#define CDC_GET_LINE_CODING 0x21
-#define CDC_SET_CONTROL_LINE_STATE 0x22
-
-#define LC_STOP_1 0
-#define LC_PARITY_NONE 0
-
-typedef struct {
- uint8_t dwDTERate[4];
- uint8_t bCharFormat;
- uint8_t bParityType;
- uint8_t bDataBits;
-} cdc_linecoding_t;
-
static cdc_linecoding_t linecoding = {
{0x00, 0x96, 0x00, 0x00}, /* 38400. */
LC_STOP_1, LC_PARITY_NONE, 8
|