mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 07:23:34 +08:00
commander cleanup home position handling
This commit is contained in:
committed by
Nuno Marques
parent
f387fe7e65
commit
d4f713b286
@@ -158,6 +158,12 @@ public:
|
||||
return PublicationBase::update((void *)(&_data));
|
||||
}
|
||||
|
||||
bool update(const T &data)
|
||||
{
|
||||
_data = data;
|
||||
return update();
|
||||
}
|
||||
|
||||
private:
|
||||
T _data;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user