mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-25 06:13:56 +08:00
[components/drivers]update hwtimer (#8565)
This commit is contained in:
@@ -78,6 +78,10 @@ typedef struct rt_hwtimer_device
|
||||
rt_err_t rt_device_hwtimer_register(rt_hwtimer_t *timer, const char *name, void *user_data);
|
||||
void rt_device_hwtimer_isr(rt_hwtimer_t *timer);
|
||||
|
||||
#ifdef RT_USING_DM
|
||||
extern void (*rt_device_hwtimer_us_delay)(rt_uint32_t us);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -183,6 +183,7 @@ extern "C" {
|
||||
|
||||
#ifdef RT_USING_DM
|
||||
#include "drivers/core/dm.h"
|
||||
#include "drivers/platform.h"
|
||||
|
||||
#ifdef RT_USING_OFW
|
||||
#include "drivers/ofw.h"
|
||||
|
||||
Reference in New Issue
Block a user