add GetTimerXParams
This commit is contained in:
parent
dcbdf747c4
commit
12fc959d9c
@ -251,6 +251,11 @@ namespace a8
|
||||
}
|
||||
}
|
||||
|
||||
a8::XParams& GetTimerXParams(xtimer_list* timer)
|
||||
{
|
||||
return timer->param;
|
||||
}
|
||||
|
||||
void XTimer::UpdateTimer()
|
||||
{
|
||||
struct xtvec_base *base = base_;
|
||||
|
@ -40,6 +40,7 @@ namespace a8
|
||||
void DeleteTimer(xtimer_list* timer);
|
||||
//通过关联的list_head获取定时器对象
|
||||
xtimer_list* GetTimerByAttach(list_head* attach_entry);
|
||||
a8::XParams& GetTimerXParams(xtimer_list* timer);
|
||||
|
||||
private:
|
||||
void UpdateTimer();
|
||||
|
Loading…
x
Reference in New Issue
Block a user