mirror of https://github.com/ArduPilot/ardupilot
AP_Param: apply notify check to AP_ParamV too
thanks to Francisco
This commit is contained in:
parent
c81f1e1032
commit
52ca752539
|
@ -641,9 +641,11 @@ public:
|
|||
/// Value setter - set value, tell GCS
|
||||
///
|
||||
void set_and_notify(const T &v) {
|
||||
if (v != _value) {
|
||||
set(v);
|
||||
notify();
|
||||
}
|
||||
}
|
||||
|
||||
/// Combined set and save
|
||||
///
|
||||
|
|
Loading…
Reference in New Issue