Added const AP_Var access.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1958 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
01dea496c8
commit
5a273e52d2
@ -675,6 +675,12 @@ public:
|
|||||||
return _value;
|
return _value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Value getter
|
||||||
|
///
|
||||||
|
const T& get() const {
|
||||||
|
return _value;
|
||||||
|
}
|
||||||
|
|
||||||
/// Value setter
|
/// Value setter
|
||||||
///
|
///
|
||||||
void set(T v) {
|
void set(T v) {
|
||||||
|
Loading…
Reference in New Issue
Block a user