mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-04 07:38:53 +08:00
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