AP_Mount: allow AP_MOUNT_BACKEND_DEFAULT_ENABLED to be overridden

This commit is contained in:
Peter Barker 2024-07-27 19:43:32 +10:00 committed by Peter Barker
parent debf3cb28e
commit 16c2e23ee7
1 changed files with 2 additions and 0 deletions

View File

@ -7,7 +7,9 @@
#define HAL_MOUNT_ENABLED 1
#endif
#ifndef AP_MOUNT_BACKEND_DEFAULT_ENABLED
#define AP_MOUNT_BACKEND_DEFAULT_ENABLED HAL_MOUNT_ENABLED
#endif
#ifndef HAL_MOUNT_ALEXMOS_ENABLED
#define HAL_MOUNT_ALEXMOS_ENABLED AP_MOUNT_BACKEND_DEFAULT_ENABLED