Skip to content

Commit ec01428

Browse files
committed
ft9xx: Fix Mynewt build
Includes were moved few lines down to restore build with Mynewt build system.
1 parent 58b8bdc commit ec01428

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/portable/bridgetek/ft9xx/dcd_ft9xx.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,17 @@
2929
* in https://brtchip.com/BRTSourceCodeLicenseAgreement
3030
*/
3131

32+
#include "tusb_option.h"
33+
34+
#if TUSB_OPT_DEVICE_ENABLED && \
35+
(CFG_TUSB_MCU == OPT_MCU_FT90X || CFG_TUSB_MCU == OPT_MCU_FT93X)
36+
3237
#include <stdint.h>
3338
#include <ft900.h>
3439
#include <registers/ft900_registers.h>
3540

3641
#include "board.h"
3742
#include "bsp/board.h"
38-
#include "tusb_option.h"
39-
40-
#if TUSB_OPT_DEVICE_ENABLED && \
41-
(CFG_TUSB_MCU == OPT_MCU_FT90X || CFG_TUSB_MCU == OPT_MCU_FT93X)
4243

4344
#define USBD_USE_STREAMS
4445

0 commit comments

Comments
 (0)