Commander: Fix home pos print

This commit is contained in:
Lorenz Meier 2015-10-24 20:25:27 +02:00
parent d094a8f7bf
commit 81039a2940

View File

@ -922,8 +922,7 @@ static void commander_set_home_position(orb_advert_t &homePub, home_position_s &
home.yaw = attitude.yaw;
warnx("home: lat = %.7f, lon = %.7f, alt = %.2f ", home.lat, home.lon, (double)home.alt);
mavlink_log_info(mavlink_fd, "home: %.7f, %.7f, %.2f", home.lat, home.lon, (double)home.alt);
mavlink_and_console_log_info(mavlink_fd, "home: %.7f, %.7f, %.2f", home.lat, home.lon, (double)home.alt);
/* announce new home position */
if (homePub != nullptr) {