From 47638802d04ecf4afeb354ef74513f348c80e863 Mon Sep 17 00:00:00 2001 From: Beniamino Pozzan Date: Thu, 19 Nov 2026 16:19:28 +0000 Subject: [PATCH] chore: remove mavlink logs to save flash Signed-off-by: Beniamino Pozzan --- src/modules/ekf2/EKF2.cpp | 4 ---- src/modules/mavlink/mavlink | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/modules/ekf2/EKF2.cpp b/src/modules/ekf2/EKF2.cpp index dbf8c47dc5e..ac8207b56f7 100644 --- a/src/modules/ekf2/EKF2.cpp +++ b/src/modules/ekf2/EKF2.cpp @@ -603,8 +603,6 @@ void EKF2::Run() #endif // CONFIG_EKF2_MAGNETOMETER if (mag_uncalibrated) { - mavlink_log_critical(&_mavlink_log_pub, "Position not displayed due to uncalibrated compass\t"); - /* EVENT * @description * Position reset received while vehicle heading is not initialized because the compass is uncalibrated. @@ -614,8 +612,6 @@ void EKF2::Run() "Position not displayed due to uncalibrated compass"); } else { - mavlink_log_critical(&_mavlink_log_pub, "Position not displayed due to uninitialized vehicle heading\t"); - /* EVENT * @description * Position reset received while vehicle heading is not initialized. diff --git a/src/modules/mavlink/mavlink b/src/modules/mavlink/mavlink index 2e2b6af9908..3fbb88560a0 160000 --- a/src/modules/mavlink/mavlink +++ b/src/modules/mavlink/mavlink @@ -1 +1 @@ -Subproject commit 2e2b6af99084e4fde9bb304c84bb9253a1a98b6f +Subproject commit 3fbb88560a06867b1d4987e194e3309fa141cfd4