mavlink_log_info: always print to console and merge with mavlink_and_console_log_info

This commit is contained in:
Daniel Agar
2020-05-12 08:53:51 +02:00
committed by Beat Küng
parent b933557f56
commit 05886e053f
19 changed files with 125 additions and 146 deletions
+1 -1
View File
@@ -2200,7 +2200,7 @@ PX4IO::mixer_send(const char *buf, unsigned buflen, unsigned retries)
} while (retries > 0);
if (retries == 0) {
mavlink_and_console_log_info(&_mavlink_log_pub, "[IO] mixer upload fail");
mavlink_log_info(&_mavlink_log_pub, "[IO] mixer upload fail");
/* load must have failed for some reason */
return -EINVAL;