AP_HAL_ChibiOS: add and use RC_Channel_config.h

This commit is contained in:
Peter Barker 2023-03-19 20:26:16 +11:00 committed by Peter Barker
parent f81de35cd5
commit 32086826de

View File

@ -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