Sub: stop appending lf to PERF message

This commit is contained in:
Peter Barker 2017-05-01 23:03:16 +10:00 committed by Francisco Ferreira
parent 378015691b
commit b3ce03bfb0

View File

@ -117,7 +117,7 @@ void Sub::perf_update(void)
Log_Write_Performance();
}
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_loops(),
(unsigned long)perf_info_get_max_time(),