summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMasterPhi <[email protected]>2021-06-15 17:53:09 +0200
committerMasterPhi <[email protected]>2021-06-15 17:53:09 +0200
commitca8e8041ef05ba06d7d01bf1567106a76a793cab (patch)
treeca87044f870c32cba7391e32ae6e0000a5a71783 /examples
parent85fc42356977cac4d893c33eff80937e6ff9b45a (diff)
Fix resume, always init FS clock.
Signed-off-by: MasterPhi <[email protected]>
Diffstat (limited to 'examples')
-rw-r--r--examples/device/hid_composite/src/tusb_config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/device/hid_composite/src/tusb_config.h b/examples/device/hid_composite/src/tusb_config.h
index 3e608ed37..31dea4ee9 100644
--- a/examples/device/hid_composite/src/tusb_config.h
+++ b/examples/device/hid_composite/src/tusb_config.h
@@ -48,7 +48,7 @@
// Default to Highspeed for MCU with internal HighSpeed PHY (can be port specific), otherwise FullSpeed
#ifndef BOARD_DEVICE_RHPORT_SPEED
#if (CFG_TUSB_MCU == OPT_MCU_LPC18XX || CFG_TUSB_MCU == OPT_MCU_LPC43XX || CFG_TUSB_MCU == OPT_MCU_MIMXRT10XX || \
- CFG_TUSB_MCU == OPT_MCU_NUC505 || CFG_TUSB_MCU == OPT_MCU_CXD56)
+ CFG_TUSB_MCU == OPT_MCU_NUC505 || CFG_TUSB_MCU == OPT_MCU_CXD56 || CFG_TUSB_MCU == OPT_MCU_SAMX7X)
#define BOARD_DEVICE_RHPORT_SPEED OPT_MODE_HIGH_SPEED
#else
#define BOARD_DEVICE_RHPORT_SPEED OPT_MODE_FULL_SPEED
@@ -69,7 +69,7 @@
#endif
// CFG_TUSB_DEBUG is defined by compiler in DEBUG build
-// #define CFG_TUSB_DEBUG 0
+#define CFG_TUSB_DEBUG 0
/* USB DMA on some MCUs can only access a specific SRAM region with restriction on alignment.
* Tinyusb use follows macros to declare transferring memory so that they can be put