mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-26 09:30:35 +08:00
uorb autogeneration
This commit is contained in:
committed by
Lorenz Meier
parent
3aa2297497
commit
76387b1693
@@ -144,6 +144,12 @@ void Subscription<T>::update()
|
||||
SubscriptionBase::update((void *)(&_data));
|
||||
}
|
||||
|
||||
template <class T>
|
||||
bool Subscription<T>::check_updated()
|
||||
{
|
||||
return SubscriptionBase::updated();
|
||||
}
|
||||
|
||||
template <class T>
|
||||
const T &Subscription<T>::get() { return _data; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user