Skip to content

Commit 5cc8a3e

Browse files
committed
Add back fake us delay.
1 parent 17d0388 commit 5cc8a3e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ports/litex/mphalport.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@
4040
void hal_dcd_isr(uint8_t rhport);
4141
#endif
4242

43+
void mp_hal_delay_us(mp_uint_t delay) {
44+
mp_hal_delay_ms(delay / 1000);
45+
}
46+
4347
extern void SysTick_Handler(void);
4448

4549
__attribute__((section(".ramtext")))

0 commit comments

Comments
 (0)