diff --git a/src/modules/commander/commander.cpp b/src/modules/commander/commander.cpp index a269c33890..950458f218 100644 --- a/src/modules/commander/commander.cpp +++ b/src/modules/commander/commander.cpp @@ -986,7 +986,7 @@ static void commander_set_home_position(orb_advert_t &homePub, home_position_s & home.yaw = attitude.yaw; - mavlink_and_console_log_info(mavlink_fd, "home: %.7f, %.7f, %.2f", home.lat, home.lon, (double)home.alt); + PX4_INFO("home: %.7f, %.7f, %.2f", home.lat, home.lon, (double)home.alt); /* announce new home position */ if (homePub != nullptr) {