forked from Archive/PX4-Autopilot
fw_pos_control_l1: indentation only
This commit is contained in:
parent
4b519e4d5d
commit
3eaa892ee4
|
@ -587,8 +587,8 @@ FixedwingPositionControl::vehicle_control_mode_poll()
|
||||||
orb_copy(ORB_ID(vehicle_control_mode), _control_mode_sub, &_control_mode);
|
orb_copy(ORB_ID(vehicle_control_mode), _control_mode_sub, &_control_mode);
|
||||||
|
|
||||||
if (!was_armed && _control_mode.flag_armed) {
|
if (!was_armed && _control_mode.flag_armed) {
|
||||||
_launch_lat = _global_pos.lat / 1e7f;
|
_launch_lat = _global_pos.lat / 1e7d;
|
||||||
_launch_lon = _global_pos.lon / 1e7f;
|
_launch_lon = _global_pos.lon / 1e7d;
|
||||||
_launch_alt = _global_pos.alt;
|
_launch_alt = _global_pos.alt;
|
||||||
_launch_valid = true;
|
_launch_valid = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue