summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-05-13 13:20:09 +0700
committerhathach <[email protected]>2023-05-16 11:10:44 +0700
commita9aa0e3a1a9323df16c91d7705aad480033f962a (patch)
treeaad6679c87a4efc6c3af2ec4ea6e3e8a417c3ef9 /examples
parent1e998ce3bd1ecdf535a8a9feb6823627f3cf7c14 (diff)
fix error on EHCI causes xfer error in non-queued qhd which cause memory fault
Diffstat (limited to 'examples')
-rw-r--r--examples/dual/host_hid_to_device_cdc/src/tusb_config.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/dual/host_hid_to_device_cdc/src/tusb_config.h b/examples/dual/host_hid_to_device_cdc/src/tusb_config.h
index 2185cd1f1..8133ed418 100644
--- a/examples/dual/host_hid_to_device_cdc/src/tusb_config.h
+++ b/examples/dual/host_hid_to_device_cdc/src/tusb_config.h
@@ -84,10 +84,6 @@
#define CFG_TUH_RPI_PIO_USB 1
#endif
-
-// CFG_TUSB_DEBUG is defined by compiler in DEBUG build
-// #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
* into those specific section.
@@ -133,7 +129,7 @@
#endif
#ifndef CFG_TUH_MEM_ALIGN
-#define CFG_TUH_MEM_ALIGN __attribute__ ((aligned(4)))
+#define CFG_TUH_MEM_ALIGN __attribute__ ((aligned(4)))
#endif
#define CFG_TUH_HUB 1