Skip to content

Commit ffb257a

Browse files
authored
Merge pull request hathach#1301 from hathach/fix-mynewt-sunxi
fix mynewt build sunxi
2 parents eea19da + 578a123 commit ffb257a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/portable/sunxi/dcd_sunxi_musb.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828

2929
#include <stdint.h>
3030
#include "tusb_option.h"
31+
32+
#if TUSB_OPT_DEVICE_ENABLED && CFG_TUSB_MCU == OPT_MCU_F1C100S
33+
3134
#include "osal/osal.h"
3235
#include <f1c100s-irq.h>
3336
#include <device/dcd.h>
@@ -38,7 +41,6 @@ typedef uint32_t u32;
3841
typedef uint16_t u16;
3942
typedef uint8_t u8;
4043

41-
#if TUSB_OPT_DEVICE_ENABLED && CFG_TUSB_MCU == OPT_MCU_F1C100S
4244

4345
#define REQUEST_TYPE_INVALID (0xFFu)
4446

0 commit comments

Comments
 (0)