mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Merge branch 'master' of github.com:PX4/Firmware
This commit is contained in:
commit
8d4ec9b9cd
@ -54,7 +54,9 @@ public:
|
||||
_SPE_est(0.0f),
|
||||
_SKE_est(0.0f),
|
||||
_SPEdot(0.0f),
|
||||
_SKEdot(0.0f) {
|
||||
_SKEdot(0.0f),
|
||||
_vel_dot(0.0f),
|
||||
_STEdotErrLast(0.0f) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -249,8 +249,10 @@ ORBDevNode::close(struct file *filp)
|
||||
} else {
|
||||
SubscriberData *sd = filp_to_sd(filp);
|
||||
|
||||
if (sd != nullptr)
|
||||
if (sd != nullptr) {
|
||||
hrt_cancel(&sd->update_call);
|
||||
delete sd;
|
||||
}
|
||||
}
|
||||
|
||||
return CDev::close(filp);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user