mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-08 02:17:07 +08:00
Baro sim: Code style
This commit is contained in:
@@ -264,8 +264,10 @@ BAROSIM::init()
|
||||
}
|
||||
|
||||
struct baro_report brp;
|
||||
|
||||
/* do a first measurement cycle to populate reports with valid data */
|
||||
_measure_phase = 0;
|
||||
|
||||
_reports->flush();
|
||||
|
||||
_baro_topic = orb_advertise_multi(ORB_ID(sensor_baro), &brp,
|
||||
|
||||
Reference in New Issue
Block a user