mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-04 11:10:34 +08:00
44012be8b6
in detail: - in the write method: the following are not necessarily atomic operations: _last_update = hrt_absolute_time(); _generation++; - appears_updated() was called with a lock held in some cases, but not in ioctl - use the SmartLock class, so that unlock() is not needed before every return call. Makes it less error prone