summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorMengsk <[email protected]>2022-12-29 19:34:12 +0100
committerMengsk <[email protected]>2022-12-29 19:34:12 +0100
commite4f07206f8cbb177f3515f1fdbd5ed1f8cc9f668 (patch)
treeb3c7445993c3e602810cc8625d4074ddda63157f /src/device
parentfe8c170c98c40a2fb517cbeaa49336b5af572c0f (diff)
UAC : Enable fifo based transfer on stm32_fsdev
Diffstat (limited to 'src/device')
-rw-r--r--src/device/dcd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device/dcd.h b/src/device/dcd.h
index ef92d71d0..2980cc4e6 100644
--- a/src/device/dcd.h
+++ b/src/device/dcd.h
@@ -169,10 +169,10 @@ void dcd_edpt_clear_stall (uint8_t rhport, uint8_t ep_addr);
// Allocate packet buffer used by ISO endpoints
// Some MCU need manual packet buffer allocation, we allocation largest size to avoid clustering
-bool dcd_edpt_iso_alloc(uint8_t rhport, uint8_t ep_addr, uint16_t largest_packet_size);
+TU_ATTR_WEAK bool dcd_edpt_iso_alloc(uint8_t rhport, uint8_t ep_addr, uint16_t largest_packet_size);
// Configure and enable an ISO endpoint according to descriptor
-bool dcd_edpt_iso_activate(uint8_t rhport, tusb_desc_endpoint_t const * p_endpoint_desc);
+TU_ATTR_WEAK bool dcd_edpt_iso_activate(uint8_t rhport, tusb_desc_endpoint_t const * p_endpoint_desc);
//--------------------------------------------------------------------+
// Event API (implemented by stack)
//--------------------------------------------------------------------+