Plane: removed unnecessary pragmas

This commit is contained in:
Andrew Tridgell 2015-06-01 17:42:21 +10:00
parent 214b61bfc0
commit db784c83dc
1 changed files with 0 additions and 4 deletions

View File

@ -24,8 +24,6 @@
#include "Plane.h" #include "Plane.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpmf-conversions"
#define SCHED_TASK(func) FUNCTOR_BIND_VOID(&plane, &Plane::func, void) #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 }, { SCHED_TASK(terrain_update), 5, 500 },
}; };
#pragma GCC diagnostic pop
void Plane::setup() void Plane::setup()
{ {
cliSerial = hal.console; cliSerial = hal.console;