Skip to content

Commit 05d77ab

Browse files
committed
Remove HAL_GetTick from ST USBPhy
Remove the function HAL_GetTick from the ST USBPhy driver. This is no longer needed as that change has been made on master.
1 parent 6086e1f commit 05d77ab

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

usb/device/targets/TARGET_STM/USBPhy_STM32.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -525,10 +525,4 @@ void USBPhyHw::_usbisr(void) {
525525
instance->events->start_process();
526526
}
527527

528-
//TODO - remove this hack which allows HAL_Delay to work when interrupts are disabled
529-
extern "C" uint32_t HAL_GetTick()
530-
{
531-
return ticker_read_us(get_us_ticker_data()) / 1000;
532-
}
533-
534528
#endif

0 commit comments

Comments
 (0)