mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
dmesg was locking the console buffer, then writing to stdout (a pipe in the case of the MAVLink shell). This might block, waiting for mavlink to read from the pipe. If however mavlink tries to write to the console at that time, the lock is already taken. This patch avoids nested locking by using a separate buffer.