mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-03 14:40:34 +08:00
Move uORB Subscription getter to header file (#6891)
This commit is contained in:
committed by
Daniel Agar
parent
8a6b6f9be5
commit
f5ffdba4cc
@@ -193,7 +193,7 @@ public:
|
||||
/*
|
||||
* This function gets the T struct data
|
||||
* */
|
||||
const T &get();
|
||||
const T &get() const { return _data; }
|
||||
private:
|
||||
T _data;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user