diff --git a/libraries/AP_Notify/AP_Notify.cpp b/libraries/AP_Notify/AP_Notify.cpp index 094412c03d..c1092d1161 100644 --- a/libraries/AP_Notify/AP_Notify.cpp +++ b/libraries/AP_Notify/AP_Notify.cpp @@ -412,10 +412,6 @@ void AP_Notify::add_backends(void) // initialisation void AP_Notify::init(void) { - // clear all flags and events - memset(&AP_Notify::flags, 0, sizeof(AP_Notify::flags)); - memset(&AP_Notify::events, 0, sizeof(AP_Notify::events)); - // add all the backends add_backends(); }