Skip to content

Commit 7228239

Browse files
committed
Clean up.
1 parent 51bb27a commit 7228239

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/portable/st/stm32_fsdev/dcd_stm32_fsdev_pvt_st.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -119,15 +119,6 @@
119119
// Volatile is also needed to prevent the optimizer from changing access to 32-bit (as 32-bit access is forbidden)
120120
static __IO uint16_t * const pma = (__IO uint16_t*)USB_PMAADDR;
121121

122-
// This array maps the endpoint address to a endpoint register in hardware
123-
// By default the tinyusb stack chooses the endpoint register using the endpoint number
124-
// However when using ISOCHRONOUS endpoints, the entire endpoint register (RX _and_ TX)
125-
// are used for a double buffer in a single direction. If you now want to use the same endpoint number with
126-
// different directions (e.g. 0x02 and 0x82), they would be mapped to the same register
127-
// In this case, this serves as a crude helper to overcome this limitation by implementing
128-
// this callback and defining a custom mapping in your application
129-
TU_ATTR_WEAK uint8_t tu_stm32_edpt_number_cb(uint8_t addr);
130-
131122
// This callback is called on SOF and can be used to e.g. capture a timer value for timing purposes
132123
TU_ATTR_WEAK void tu_stm32_sof_cb(void);
133124

0 commit comments

Comments
 (0)