mirror of https://github.com/ARMmbed/mbed-os.git
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.pull/9768/head
parent
1f8bf46f2e
commit
130927068c
|
@ -525,10 +525,4 @@ void USBPhyHw::_usbisr(void) {
|
||||||
instance->events->start_process();
|
instance->events->start_process();
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO - remove this hack which allows HAL_Delay to work when interrupts are disabled
|
|
||||||
extern "C" uint32_t HAL_GetTick()
|
|
||||||
{
|
|
||||||
return ticker_read_us(get_us_ticker_data()) / 1000;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue