summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2021-11-05 11:58:21 +0700
committerGitHub <[email protected]>2021-11-05 11:58:21 +0700
commit5fcd0e284b7e23e2dbfb31d39e0dd19e5e06810f (patch)
tree98070f24dc2089298ed7dd52266c83beec6d0a3f
parent19f0fd90d3b27121b605961d145dbabee76b64fb (diff)
parente35bb6341cd3a9b81085969cdce60cb3af9ed57e (diff)
Merge pull request #1178 from kasjer/kasjer/fix-mynwet-build
broadcom/dcd: Fix mynewt build
-rw-r--r--src/portable/broadcom/synopsys/dcd_synopsys.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/portable/broadcom/synopsys/dcd_synopsys.c b/src/portable/broadcom/synopsys/dcd_synopsys.c
index 041158871..494bb70ee 100644
--- a/src/portable/broadcom/synopsys/dcd_synopsys.c
+++ b/src/portable/broadcom/synopsys/dcd_synopsys.c
@@ -29,6 +29,10 @@
#include "tusb_option.h"
+#if TUSB_OPT_DEVICE_ENABLED && \
+ (CFG_TUSB_MCU == OPT_MCU_BCM2711 ) \
+
+
#include "synopsys_common.h"
#include "broadcom/interrupts.h"
@@ -37,10 +41,6 @@
// We disable SOF for now until needed later on
#define USE_SOF 0
-#if TUSB_OPT_DEVICE_ENABLED && \
- (CFG_TUSB_MCU == OPT_MCU_BCM2711 ) \
-
-
// EP_MAX : Max number of bi-directional endpoints including EP0
// EP_FIFO_SIZE : Size of dedicated USB SRAM
#if CFG_TUSB_MCU == OPT_MCU_BCM2711