mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 01:55:53 +08:00
fix(dshot): downgrade 'serial telemetry lost' to debug log (#27118)
The warning spams the console during disarmed retries. Demote to PX4_DEBUG so it remains available when debugging without flooding normal operation.
This commit is contained in:
@@ -525,7 +525,7 @@ bool DShot::process_serial_telemetry()
|
|||||||
|
|
||||||
if (_serial_telem_consecutive_timeouts[motor_index] >= SERIAL_TELEM_SKIP_THRESHOLD) {
|
if (_serial_telem_consecutive_timeouts[motor_index] >= SERIAL_TELEM_SKIP_THRESHOLD) {
|
||||||
_serial_telem_skip_mask |= (1 << motor_index);
|
_serial_telem_skip_mask |= (1 << motor_index);
|
||||||
PX4_WARN("ESC%d serial telemetry lost, skipping", motor_index + 1);
|
PX4_DEBUG("ESC%d serial telemetry lost, skipping", motor_index + 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user