AP_RCMapper: add rcmapper config
This commit is contained in:
parent
e358d1d237
commit
1e50e36000
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "AP_RCMapper_config.h"
|
||||||
|
|
||||||
|
#if AP_RCMAPPER_ENABLED
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <AP_Common/AP_Common.h>
|
#include <AP_Common/AP_Common.h>
|
||||||
#include <AP_Param/AP_Param.h>
|
#include <AP_Param/AP_Param.h>
|
||||||
@ -52,3 +56,5 @@ namespace AP
|
|||||||
{
|
{
|
||||||
RCMapper *rcmap();
|
RCMapper *rcmap();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif // AP_RCMAPPER_ENABLED
|
||||||
|
5
libraries/AP_RCMapper/AP_RCMapper_config.h
Normal file
5
libraries/AP_RCMapper/AP_RCMapper_config.h
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef AP_RCMAPPER_ENABLED
|
||||||
|
#define AP_RCMAPPER_ENABLED 1
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user