Browse Source

AP_Param: add set_and_notify to vectors

master
Francisco Ferreira 8 years ago committed by Tom Pittenger
parent
commit
a3fcebc501
  1. 7
      libraries/AP_Param/AP_Param.h

7
libraries/AP_Param/AP_Param.h

@ -636,6 +636,13 @@ public: @@ -636,6 +636,13 @@ public:
_value = v;
}
/// Value setter - set value, tell GCS
///
void set_and_notify(const T &v) {
set(v);
notify();
}
/// Combined set and save
///
bool set_and_save(const T &v) {

Loading…
Cancel
Save