diff options
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/litex/mphalport.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/litex/mphalport.c b/ports/litex/mphalport.c index 005a65aac..0b8f01298 100644 --- a/ports/litex/mphalport.c +++ b/ports/litex/mphalport.c @@ -60,6 +60,10 @@ void mp_hal_delay_ms(mp_uint_t delay) { } } +void mp_hal_delay_us(mp_uint_t delay) { + mp_hal_delay_ms(delay / 1000); +} + extern void SysTick_Handler(void); __attribute__((section(".ramtext"))) |
