mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
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
6d13081fcf
commit
cec995adf7
@ -675,6 +675,12 @@ public:
|
||||
return _value;
|
||||
}
|
||||
|
||||
/// Value getter
|
||||
///
|
||||
const T& get() const {
|
||||
return _value;
|
||||
}
|
||||
|
||||
/// Value setter
|
||||
///
|
||||
void set(T v) {
|
||||
|
Loading…
Reference in New Issue
Block a user