mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-13 23:37:35 +08:00
cbd6e735ad
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.