mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-03-27 09:32:28 +08:00
implement delay.c/.h
This commit is contained in:
@@ -55,3 +55,8 @@ void rt_hw_board_init(void)
|
||||
rt_hw_ipi_handler_install(RT_SCHEDULE_IPI, rt_scheduler_ipi_handler);
|
||||
#endif
|
||||
}
|
||||
|
||||
void rt_hw_us_delay(rt_uint32_t us)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -33,16 +33,6 @@ struct eth_device_smc911x
|
||||
};
|
||||
static struct eth_device_smc911x _emac;
|
||||
|
||||
int udelay(int value)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int mdelay(int value)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if defined (CONFIG_SMC911X_32_BIT)
|
||||
rt_inline uint32_t smc911x_reg_read(struct eth_device_smc911x *dev, uint32_t offset)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user