mirror of https://github.com/ArduPilot/ardupilot
Plane: removed unnecessary pragmas
This commit is contained in:
parent
214b61bfc0
commit
db784c83dc
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue