mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 06:03:34 +08:00
Device: Allow access to device id
This commit is contained in:
@@ -204,6 +204,8 @@ protected:
|
||||
sem_post(&_lock);
|
||||
}
|
||||
|
||||
DeviceId &get_device_id() { return _device_id; }
|
||||
|
||||
sem_t _lock; /**< lock to protect access to all class members (also for derived classes) */
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user