Browse Source

Scheduler: remove INS start style from example sketch

mission-4.1.18
Randy Mackay 10 years ago
parent
commit
87cada1d54
  1. 3
      libraries/AP_Scheduler/examples/Scheduler_test/Scheduler_test.cpp

3
libraries/AP_Scheduler/examples/Scheduler_test/Scheduler_test.cpp

@ -84,8 +84,7 @@ const AP_Scheduler::Task SchedTest::scheduler_tasks[] PROGMEM = { @@ -84,8 +84,7 @@ const AP_Scheduler::Task SchedTest::scheduler_tasks[] PROGMEM = {
void SchedTest::setup(void)
{
// we
ins.init(AP_InertialSensor::COLD_START,
AP_InertialSensor::RATE_50HZ);
ins.init(AP_InertialSensor::RATE_50HZ);
// initialise the scheduler
scheduler.init(&scheduler_tasks[0], ARRAY_SIZE(scheduler_tasks));

Loading…
Cancel
Save