Browse Source

Plane: removed unnecessary pragmas

mission-4.1.18
Andrew Tridgell 10 years ago
parent
commit
db784c83dc
  1. 4
      ArduPlane/ArduPlane.cpp

4
ArduPlane/ArduPlane.cpp

@ -24,8 +24,6 @@ @@ -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 = { @@ -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;

Loading…
Cancel
Save