File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed
src/portable/st/stm32_fsdev Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -649,7 +649,6 @@ void dcd_int_handler(uint8_t rhport) {
649
649
/* Put SOF flag at the beginning of ISR in case to get least amount of jitter if it is used for timing purposes */
650
650
if (int_status & USB_ISTR_SOF ) {
651
651
clear_istr_bits (USB_ISTR_SOF );
652
- if (tu_stm32_sof_cb ) tu_stm32_sof_cb ();
653
652
dcd_event_sof (0 , USB -> FNR & USB_FNR_FN , true);
654
653
}
655
654
Original file line number Diff line number Diff line change 119
119
// Volatile is also needed to prevent the optimizer from changing access to 32-bit (as 32-bit access is forbidden)
120
120
static __IO uint16_t * const pma = (__IO uint16_t * )USB_PMAADDR ;
121
121
122
- // This callback is called on SOF and can be used to e.g. capture a timer value for timing purposes
123
- TU_ATTR_WEAK void tu_stm32_sof_cb (void );
124
-
125
122
// prototypes
126
123
TU_ATTR_ALWAYS_INLINE static inline __IO uint16_t * pcd_ep_rx_cnt_ptr (USB_TypeDef * USBx , uint32_t bEpNum );
127
124
TU_ATTR_ALWAYS_INLINE static inline __IO uint16_t * pcd_ep_tx_cnt_ptr (USB_TypeDef * USBx , uint32_t bEpNum );
You can’t perform that action at this time.
0 commit comments