AP_HAL: allow backends to be compiled out

This commit is contained in:
Peter Barker 2022-05-04 18:13:29 +10:00 committed by Andrew Tridgell
parent 4b95ad12bf
commit f934854a0c

View File

@ -228,6 +228,10 @@
#define HAL_ENABLE_LIBUAVCAN_DRIVERS HAL_CANMANAGER_ENABLED
#endif
#ifndef AP_AIRSPEED_BACKEND_DEFAULT_ENABLED
#define AP_AIRSPEED_BACKEND_DEFAULT_ENABLED 1
#endif
#ifdef HAVE_LIBDL
#define AP_MODULE_SUPPORTED 1
#else