summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-04-22 18:08:41 +0700
committerhathach <[email protected]>2024-04-22 18:31:11 +0700
commitdb30eee0fcacda2b2f3f208ddf5ab9be723129d8 (patch)
tree6349260c92efd93a987bd0bdab6569107697a7e2 /src
parentc097c85dcf8e0ef3ea052c146c5f514101827251 (diff)
clang tested with mcb1800, add heap to lpc18 linker
Diffstat (limited to 'src')
-rw-r--r--src/portable/ehci/ehci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/ehci/ehci.c b/src/portable/ehci/ehci.c
index e145cbb1b..01bbf62bf 100644
--- a/src/portable/ehci/ehci.c
+++ b/src/portable/ehci/ehci.c
@@ -92,7 +92,7 @@ CFG_TUH_MEM_SECTION TU_ATTR_ALIGNED(4096) static ehci_data_t ehci_data;
//--------------------------------------------------------------------+
// Debug
//--------------------------------------------------------------------+
-#if CFG_TUSB_DEBUG >= (EHCI_DBG + 1)
+#if 0 && CFG_TUSB_DEBUG >= (EHCI_DBG + 1)
static inline void print_portsc(ehci_registers_t* regs) {
TU_LOG_HEX(EHCI_DBG, regs->portsc);
TU_LOG(EHCI_DBG, " Connect Status : %u\r\n", regs->portsc_bm.current_connect_status);