AP_HAL_ChibiOS: add option to disable relay and servorelay libraries

This commit is contained in:
Peter Barker 2023-06-06 18:05:06 +10:00 committed by Peter Barker
parent 2975656be5
commit 2932dea4ff
1 changed files with 8 additions and 0 deletions

View File

@ -3123,6 +3123,14 @@ INCLUDE common.ld
#define HAL_CRSF_TELEM_ENABLED 0
#ifndef AP_SERVORELAYEVENTS_ENABLED
#define AP_SERVORELAYEVENTS_ENABLED 0
#endif
#ifndef AP_RELAY_ENABLED
#define AP_RELAY_ENABLED 0
#endif
/*
* GPS Backends - we selectively turn backends on.
* Note also that f103-GPS explicitly disables some of these backends.