Add back fake us delay.

This commit is contained in:
Scott Shawcroft 2020-04-21 14:14:49 -07:00
parent 17d038830d
commit 5cc8a3ec82
No known key found for this signature in database
GPG Key ID: 9349BC7E64B1921E

View File

@ -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")))