mc pos control: map projection init not needed anymore

This commit is contained in:
Thomas Gubler
2014-04-24 17:05:30 +02:00
parent 35d15720ef
commit 9f2da53f08
@@ -482,8 +482,6 @@ MulticopterPositionControl::update_ref()
alt_sp = _ref_alt - _pos_sp(2);
}
/* update local projection reference */
// map_projection_init(&_ref_pos, _local_pos.ref_lat, _local_pos.ref_lon); //XXX fix reference update
_ref_alt = _local_pos.ref_alt;
if (_ref_timestamp != 0) {