mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-04 15:08:28 -04:00
19b4ca60c4
Move the macros to a single place and reduce the variations not based on board, but based on - The name of the entry-point function, specified by AP_MAIN; - Whether it contains argc/argv arguments or not. The goal here is that programs (vehicles and examples) don't need to include all possible boards to define a main function. Further patches will change the programs.
15 lines
208 B
C
15 lines
208 B
C
|
|
#ifndef __AP_HAL_SITL_H__
|
|
#define __AP_HAL_SITL_H__
|
|
|
|
#include <AP_HAL/AP_HAL.h>
|
|
|
|
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
|
|
|
#include "HAL_SITL_Class.h"
|
|
|
|
#endif // CONFIG_HAL_BOARD
|
|
|
|
#endif // __AP_HAL_SITL_H__
|
|
|