From 64acf753c775e724040fea8d286903a1a497a04b Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Tue, 5 Jan 2016 11:15:40 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8692 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/STM32/STM32F7xx/USB_RAW/usbcfg.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'testhal') 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 -- cgit v1.2.3