mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-28 21:40:34 +08:00
fdb92d4746
This is to avoid blocking in any case. If we don't do that, ioctl() may signal data available while the other protocol does a read(), and when the first protocol tries to do a read(), it would not have data anymore and would block (so this avoids a race condition).