mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-18 20:40:35 +08:00
uORB::Subscription minor API cleanup
* the forceInit() method was combined with the existing subscribe() * delete unused last_update()
This commit is contained in:
@@ -196,14 +196,6 @@ public:
|
||||
int get_priority() const { return _priority; }
|
||||
void set_priority(uint8_t priority) { _priority = priority; }
|
||||
|
||||
/**
|
||||
* Copies the timestamp of the last update atomically.
|
||||
*
|
||||
* @return uint64_t
|
||||
* Returns the timestamp of the most recent data.
|
||||
*/
|
||||
hrt_abstime last_update();
|
||||
|
||||
/**
|
||||
* Copies data and the corresponding generation
|
||||
* from a node to the buffer provided.
|
||||
|
||||
Reference in New Issue
Block a user