فهرست منبع

Merge pull request #1178 from kasjer/kasjer/fix-mynwet-build

broadcom/dcd: Fix mynewt build
Ha Thach 4 سال پیش
والد
کامیت
5fcd0e284b
1فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 4 4
      src/portable/broadcom/synopsys/dcd_synopsys.c

+ 4 - 4
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