AP_Scheduler: add and use AP_Scheduler_config.h
This commit is contained in:
parent
4219d498ec
commit
435214852e
@ -14,10 +14,13 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* main loop scheduler for APM
|
||||
* main loop scheduler for ArduPilot
|
||||
* Author: Andrew Tridgell, January 2013
|
||||
*
|
||||
*/
|
||||
|
||||
#include "AP_Scheduler_config.h"
|
||||
|
||||
#include "AP_Scheduler.h"
|
||||
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
|
@ -20,11 +20,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <AP_HAL/AP_HAL_Boards.h>
|
||||
|
||||
#ifndef AP_SCHEDULER_ENABLED
|
||||
#define AP_SCHEDULER_ENABLED 1
|
||||
#endif
|
||||
#include "AP_Scheduler_config.h"
|
||||
|
||||
#include <AP_Param/AP_Param.h>
|
||||
#include <AP_HAL/Semaphores.h>
|
||||
|
7
libraries/AP_Scheduler/AP_Scheduler_config.h
Normal file
7
libraries/AP_Scheduler/AP_Scheduler_config.h
Normal file
@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <AP_HAL/AP_HAL_Boards.h>
|
||||
|
||||
#ifndef AP_SCHEDULER_ENABLED
|
||||
#define AP_SCHEDULER_ENABLED 1
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user