forked from Archive/PX4-Autopilot
fix logger: turn off lockstep when starting log streaming
Lockstep created deadlocks between logger and mavlink, due to logger waiting for mavlink and mavlink waiting for lockstep.
This commit is contained in:
parent
f88f224fe6
commit
c0285611ec
|
@ -1397,6 +1397,10 @@ void Logger::start_log_mavlink()
|
|||
return;
|
||||
}
|
||||
|
||||
// mavlink log does not work in combination with lockstep, it leads to dead-locks
|
||||
px4_lockstep_unregister_component(_lockstep_component);
|
||||
_lockstep_component = -1;
|
||||
|
||||
// initialize cpu load as early as possible to get more data
|
||||
initialize_load_output(PrintLoadReason::Preflight);
|
||||
|
||||
|
|
Loading…
Reference in New Issue