AP_Param: add set_and_notify to vectors

This commit is contained in:
Francisco Ferreira 2016-11-12 23:34:13 +00:00 committed by Randy Mackay
parent 00ed6bbc2b
commit c81f1e1032

View File

@ -638,6 +638,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) {