diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2020-04-21 14:14:49 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2020-04-21 14:14:49 -0700 |
| commit | 5cc8a3ec82ae6e23fe3b1f68ab30475386b1d1d3 (patch) | |
| tree | a646becb623919bc5895c4031d492863a2154f8b | |
| parent | 17d038830d93946a2ed393376d62e33932153214 (diff) | |
Add back fake us delay.
| -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 12eaaac3c..0b89009f0 100644 --- a/ports/litex/mphalport.c +++ b/ports/litex/mphalport.c @@ -40,6 +40,10 @@ void hal_dcd_isr(uint8_t rhport); #endif +void mp_hal_delay_us(mp_uint_t delay) { + mp_hal_delay_ms(delay / 1000); +} + extern void SysTick_Handler(void); __attribute__((section(".ramtext"))) |
