From ec01428820ae5ea35bb559adf4894c4e816b7651 Mon Sep 17 00:00:00 2001 From: Jerzy Kasenberg Date: Mon, 17 Jan 2022 08:50:11 +0100 Subject: [PATCH] ft9xx: Fix Mynewt build Includes were moved few lines down to restore build with Mynewt build system. --- src/portable/bridgetek/ft9xx/dcd_ft9xx.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/portable/bridgetek/ft9xx/dcd_ft9xx.c b/src/portable/bridgetek/ft9xx/dcd_ft9xx.c index 793d40f81..d46723caa 100644 --- a/src/portable/bridgetek/ft9xx/dcd_ft9xx.c +++ b/src/portable/bridgetek/ft9xx/dcd_ft9xx.c @@ -29,16 +29,17 @@ * in https://brtchip.com/BRTSourceCodeLicenseAgreement */ +#include "tusb_option.h" + +#if TUSB_OPT_DEVICE_ENABLED && \ + (CFG_TUSB_MCU == OPT_MCU_FT90X || CFG_TUSB_MCU == OPT_MCU_FT93X) + #include #include #include #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) #define USBD_USE_STREAMS