Browse Source

AP_Param: apply notify check to AP_ParamV too

thanks to Francisco
master
Andrew Tridgell 8 years ago committed by Lucas De Marchi
parent
commit
be9ac273ce
  1. 6
      libraries/AP_Param/AP_Param.h

6
libraries/AP_Param/AP_Param.h

@ -641,8 +641,10 @@ public: @@ -641,8 +641,10 @@ public:
/// Value setter - set value, tell GCS
///
void set_and_notify(const T &v) {
set(v);
notify();
if (v != _value) {
set(v);
notify();
}
}
/// Combined set and save

Loading…
Cancel
Save