mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-26 08:20:34 +08:00
refactor uorb: rename published to advertised
No semantic change (yet)
This commit is contained in:
@@ -116,7 +116,7 @@ Subscription::init()
|
||||
bool
|
||||
Subscription::update(uint64_t *time, void *dst)
|
||||
{
|
||||
if ((time != nullptr) && (dst != nullptr) && published()) {
|
||||
if ((time != nullptr) && (dst != nullptr) && advertised()) {
|
||||
// always copy data to dst regardless of update
|
||||
const uint64_t t = _node->copy_and_get_timestamp(dst, _last_generation);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user