Copter: stop appending lf to PERF message

This commit is contained in:
Peter Barker 2017-05-01 23:02:47 +10:00 committed by Francisco Ferreira
parent 5a02219642
commit b37e64b23c

View File

@ -201,7 +201,7 @@ void Copter::perf_update(void)
if (should_log(MASK_LOG_PM)) if (should_log(MASK_LOG_PM))
Log_Write_Performance(); Log_Write_Performance();
if (scheduler.debug()) { if (scheduler.debug()) {
gcs_send_text_fmt(MAV_SEVERITY_WARNING, "PERF: %u/%u %lu %lu\n", gcs_send_text_fmt(MAV_SEVERITY_WARNING, "PERF: %u/%u %lu %lu",
(unsigned)perf_info_get_num_long_running(), (unsigned)perf_info_get_num_long_running(),
(unsigned)perf_info_get_num_loops(), (unsigned)perf_info_get_num_loops(),
(unsigned long)perf_info_get_max_time(), (unsigned long)perf_info_get_max_time(),