mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_HAL_ChibiOS: add and use RC_Channel_config.h
This commit is contained in:
parent
f81de35cd5
commit
32086826de
@ -2946,6 +2946,11 @@ def add_apperiph_defaults(f):
|
||||
#define HAL_EXTERNAL_AHRS_ENABLED 0
|
||||
#endif
|
||||
|
||||
// disable RC_Channels library:
|
||||
#ifndef AP_RC_CHANNEL_ENABLED
|
||||
#define AP_RC_CHANNEL_ENABLED 0
|
||||
#endif
|
||||
|
||||
/*
|
||||
* GPS Backends - we selectively turn backends on.
|
||||
* Note also that f103-GPS explicitly disables some of these backends.
|
||||
@ -3135,6 +3140,11 @@ def add_iomcu_firmware_defaults(f):
|
||||
#define AP_INERTIALSENSOR_ENABLED 0
|
||||
#endif
|
||||
|
||||
// no RC_Channels library:
|
||||
#ifndef AP_RC_CHANNEL_ENABLED
|
||||
#define AP_RC_CHANNEL_ENABLED 0
|
||||
#endif
|
||||
|
||||
#ifndef AP_VIDEOTX_ENABLED
|
||||
#define AP_VIDEOTX_ENABLED 0
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user