mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
AP_Param: add set_and_notify to vectors
This commit is contained in:
parent
4c8d151190
commit
a3fcebc501
@ -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…
Reference in New Issue
Block a user