From 150b8653a489546fe238796e52c93aa19bc00e72 Mon Sep 17 00:00:00 2001 From: Tom Pittenger Date: Tue, 6 Oct 2020 04:24:05 -0700 Subject: [PATCH] Revert "AP_Param: add set_and_save_and_notify()" This reverts commit 96a2aa485abd1139a2788fc64965550681870a9c. --- libraries/AP_Param/AP_Param.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/libraries/AP_Param/AP_Param.h b/libraries/AP_Param/AP_Param.h index 0cdaefaf53..a477d91e0e 100644 --- a/libraries/AP_Param/AP_Param.h +++ b/libraries/AP_Param/AP_Param.h @@ -777,19 +777,6 @@ public: } } - /// Value setter - set value and save, tell GCS - /// - void set_and_save_and_notify(const T &v) { -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wfloat-equal" - if (v != _value) { -#pragma GCC diagnostic pop - set(v); - save(true); - notify(); - } - } - /// Combined set and save /// void set_and_save(const T &v) {