shorten power redundancy check message to less then 50 chars (mavlink limit) (#24738)

This commit is contained in:
mtzm
2025-07-22 22:30:56 -08:00
committed by GitHub
parent eb274775d7
commit 5144bd5b9f
@@ -144,7 +144,7 @@ void PowerChecks::checkAndReport(const Context &context, Report &reporter)
events::Log::Error, "Power redundancy not met", power_module_count, _param_com_power_count.get());
if (reporter.mavlink_log_pub()) {
mavlink_log_critical(reporter.mavlink_log_pub(), "Preflight Fail: Power redundancy not met: %d instead of %" PRId32 "",
mavlink_log_critical(reporter.mavlink_log_pub(), "Preflight Fail: Power redundancy not met: %d of %" PRId32 "",
power_module_count, _param_com_power_count.get());
}
}