summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/portable/bridgetek/ft9xx/dcd_ft9xx.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/portable/bridgetek/ft9xx/dcd_ft9xx.c b/src/portable/bridgetek/ft9xx/dcd_ft9xx.c
index 09ca2904f..3235d0ef1 100644
--- a/src/portable/bridgetek/ft9xx/dcd_ft9xx.c
+++ b/src/portable/bridgetek/ft9xx/dcd_ft9xx.c
@@ -29,20 +29,19 @@
* in https://brtchip.com/BRTSourceCodeLicenseAgreement
*/
+#include <stdint.h>
+#include <ft900.h>
+#include <registers/ft900_registers.h>
+
#include "board.h"
#include "bsp/board.h"
#include "tusb_option.h"
#if TUSB_OPT_DEVICE_ENABLED && \
- (CFG_TUSB_MCU == OPT_MCU_FT90X || CFG_TUSB_MCU == OPT_MCU_FT93X)
+ (CFG_TUSB_MCU == OPT_MCU_FT90X || CFG_TUSB_MCU == OPT_MCU_FT93X)
#define USBD_USE_STREAMS
-#include <stdint.h>
-#include <errno.h>
-#include <ft900.h>
-#include <registers/ft900_registers.h>
-
#include "device/dcd.h"
//--------------------------------------------------------------------+