Merge pull request #1301 from hathach/fix-mynewt-sunxi

fix mynewt build sunxi
This commit is contained in:
Ha Thach 2022-01-26 17:02:52 +07:00 committed by GitHub
commit ffb257ac17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -28,6 +28,9 @@
#include <stdint.h>
#include "tusb_option.h"
#if TUSB_OPT_DEVICE_ENABLED && CFG_TUSB_MCU == OPT_MCU_F1C100S
#include "osal/osal.h"
#include <f1c100s-irq.h>
#include <device/dcd.h>
@ -38,7 +41,6 @@ typedef uint32_t u32;
typedef uint16_t u16;
typedef uint8_t u8;
#if TUSB_OPT_DEVICE_ENABLED && CFG_TUSB_MCU == OPT_MCU_F1C100S
#define REQUEST_TYPE_INVALID (0xFFu)