Made new includes conditional to F7.
This commit is contained in:
parent
b402d85a77
commit
11098fba85
|
@ -22,8 +22,12 @@
|
|||
|
||||
#include "drivers/serial.h"
|
||||
|
||||
#if defined(STM32F7)
|
||||
#include "usbd_cdc.h"
|
||||
|
||||
extern USBD_HandleTypeDef USBD_Device;
|
||||
#endif
|
||||
|
||||
typedef struct {
|
||||
serialPort_t port;
|
||||
|
||||
|
@ -34,8 +38,6 @@ typedef struct {
|
|||
bool buffering;
|
||||
} vcpPort_t;
|
||||
|
||||
extern USBD_HandleTypeDef USBD_Device;
|
||||
|
||||
serialPort_t *usbVcpOpen(void);
|
||||
struct serialPort_s;
|
||||
uint32_t usbVcpGetBaudRate(struct serialPort_s *instance);
|
||||
|
|
Loading…
Reference in New Issue