mirror of https://github.com/ArduPilot/ardupilot
AP_RPM: added AP_RPM_config.h
This commit is contained in:
parent
9fd67b4754
commit
410213e41a
|
@ -19,6 +19,7 @@
|
|||
#include <AP_Param/AP_Param.h>
|
||||
#include <AP_Math/AP_Math.h>
|
||||
#include "AP_RPM_Params.h"
|
||||
#include "AP_RPM_config.h"
|
||||
|
||||
// Maximum number of RPM measurement instances available on this platform
|
||||
#define RPM_MAX_INSTANCES 2
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
#pragma once
|
||||
|
||||
#define AP_RPM_ENABLED 1
|
||||
|
|
@ -16,6 +16,8 @@
|
|||
|
||||
#include "AP_RPM.h"
|
||||
|
||||
#define AP_RPM_SIM_ENABLED (CONFIG_HAL_BOARD == HAL_BOARD_SITL)
|
||||
|
||||
#if AP_RPM_SIM_ENABLED
|
||||
|
||||
#include "RPM_Backend.h"
|
||||
|
|
Loading…
Reference in New Issue