diff --git a/ArduPlane/ArduPlane.cpp b/ArduPlane/ArduPlane.cpp index 79a2600b82..e9e8be7760 100644 --- a/ArduPlane/ArduPlane.cpp +++ b/ArduPlane/ArduPlane.cpp @@ -24,8 +24,6 @@ #include "Plane.h" -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wpmf-conversions" #define SCHED_TASK(func) FUNCTOR_BIND_VOID(&plane, &Plane::func, void) /* @@ -78,8 +76,6 @@ const AP_Scheduler::Task Plane::scheduler_tasks[] PROGMEM = { { SCHED_TASK(terrain_update), 5, 500 }, }; -#pragma GCC diagnostic pop - void Plane::setup() { cliSerial = hal.console;