mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
spinOnce() fix
This commit is contained in:
parent
988e404586
commit
aa0583c8dc
@ -127,6 +127,15 @@ public:
|
||||
return -ErrNotInited;
|
||||
}
|
||||
|
||||
int spinOnce()
|
||||
{
|
||||
if (started_)
|
||||
{
|
||||
return INode::spinOnce();
|
||||
}
|
||||
return -ErrNotInited;
|
||||
}
|
||||
|
||||
bool isStarted() const { return started_; }
|
||||
|
||||
uint64_t getInternalFailureCount() const { return internal_failure_cnt_; }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user