mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 15:58:53 +08:00
AStyle
This commit is contained in:
@@ -671,6 +671,7 @@ void Ekf2::task_main()
|
|||||||
|
|
||||||
if (_wind_pub == nullptr) {
|
if (_wind_pub == nullptr) {
|
||||||
_wind_pub = orb_advertise(ORB_ID(wind_estimate), &wind_estimate);
|
_wind_pub = orb_advertise(ORB_ID(wind_estimate), &wind_estimate);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
orb_publish(ORB_ID(wind_estimate), _wind_pub, &wind_estimate);
|
orb_publish(ORB_ID(wind_estimate), _wind_pub, &wind_estimate);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user