diff options
| author | hathach <[email protected]> | 2021-07-19 12:08:01 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-07-19 12:08:01 +0700 |
| commit | 05f59fb8edc301690042821d447c31631be8d911 (patch) | |
| tree | c421fa7b86c2d6d6bfc8004ad0595b7405ea8bdf /hw/bsp/same70_xplained | |
| parent | 8cae17bfc87f49c814827b0a31a4b6b6e8314f69 (diff) | |
clean up warning
Diffstat (limited to 'hw/bsp/same70_xplained')
| -rw-r--r-- | hw/bsp/same70_xplained/board.mk | 5 | ||||
| -rw-r--r-- | hw/bsp/same70_xplained/same70_xplained.c | 4 |
2 files changed, 1 insertions, 8 deletions
diff --git a/hw/bsp/same70_xplained/board.mk b/hw/bsp/same70_xplained/board.mk index 94b0bed98..c9bc0cea3 100644 --- a/hw/bsp/same70_xplained/board.mk +++ b/hw/bsp/same70_xplained/board.mk @@ -43,11 +43,6 @@ INC += \ $(TOP)/$(ASF_DIR)/hri \ $(TOP)/$(ASF_DIR)/CMSIS/Core/Include -# For TinyUSB port source -#SRC_C += src/portable/template/dcd_template.c -VENDOR = . -CHIP_FAMILY = template - # For freeRTOS port source FREERTOS_PORT = ARM_CM7 diff --git a/hw/bsp/same70_xplained/same70_xplained.c b/hw/bsp/same70_xplained/same70_xplained.c index f897798e7..ac682a89a 100644 --- a/hw/bsp/same70_xplained/same70_xplained.c +++ b/hw/bsp/same70_xplained/same70_xplained.c @@ -111,9 +111,7 @@ void board_init(void) //--------------------------------------------------------------------+ void USBHS_Handler(void) { - #if CFG_TUSB_RHPORT0_MODE & OPT_MODE_DEVICE - tud_int_handler(0); - #endif + tud_int_handler(0); } //--------------------------------------------------------------------+ |
