AP_Vehicle: 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 27c3f8525d
commit 234bae6816

View File

@ -307,9 +307,13 @@ protected:
#endif
AP_SerialManager serial_manager;
#if AP_RELAY_ENABLED
AP_Relay relay;
#endif
#if AP_SERVORELAYEVENTS_ENABLED
AP_ServoRelayEvents ServoRelayEvents;
#endif
// notification object for LEDs, buzzers etc (parameter set to
// false disables external leds)