Fixed USB CDC includes.
This commit is contained in:
parent
9492899aeb
commit
448885bfc5
|
@ -28,6 +28,7 @@
|
|||
#include "build/build_config.h"
|
||||
|
||||
#include "common/utils.h"
|
||||
|
||||
#include "drivers/io.h"
|
||||
|
||||
#if defined(STM32F4)
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
#include "drivers/serial.h"
|
||||
|
||||
#if defined(STM32F7)
|
||||
#include "common/maths.h"
|
||||
|
||||
#include "usbd_cdc.h"
|
||||
|
||||
extern USBD_HandleTypeDef USBD_Device;
|
||||
|
|
|
@ -46,6 +46,9 @@
|
|||
*/
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "drivers/serial_usb_vcp.h"
|
||||
#include "drivers/time.h"
|
||||
|
||||
#include "stm32f7xx_hal.h"
|
||||
#include "usbd_core.h"
|
||||
#include "usbd_desc.h"
|
||||
|
@ -53,9 +56,6 @@
|
|||
#include "usbd_cdc_interface.h"
|
||||
#include "stdbool.h"
|
||||
|
||||
#include "drivers/serial_usb_vcp.h"
|
||||
#include "drivers/time.h"
|
||||
|
||||
/* Private typedef -----------------------------------------------------------*/
|
||||
/* Private define ------------------------------------------------------------*/
|
||||
#define APP_RX_DATA_SIZE 2048
|
||||
|
|
|
@ -50,6 +50,8 @@
|
|||
#define __USBD_CDC_IF_H
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "common/maths.h"
|
||||
|
||||
#include "usbd_cdc.h"
|
||||
#include "stm32f7xx_hal.h"
|
||||
#include "usbd_core.h"
|
||||
|
|
Loading…
Reference in New Issue