mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
AP_Logger: correct compilation when GCS not available
... can't expect to do mavlink logging without GCS available...
This commit is contained in:
parent
ee3c9765a4
commit
9c97dc99b1
@ -2,6 +2,7 @@
|
||||
|
||||
#include <AP_HAL/AP_HAL_Boards.h>
|
||||
#include <AP_Filesystem/AP_Filesystem_config.h>
|
||||
#include <GCS_MAVLink/GCS_config.h>
|
||||
|
||||
#ifndef HAL_LOGGING_ENABLED
|
||||
#define HAL_LOGGING_ENABLED 1
|
||||
@ -17,7 +18,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef HAL_LOGGING_MAVLINK_ENABLED
|
||||
#define HAL_LOGGING_MAVLINK_ENABLED HAL_LOGGING_BACKEND_DEFAULT_ENABLED
|
||||
#define HAL_LOGGING_MAVLINK_ENABLED HAL_LOGGING_BACKEND_DEFAULT_ENABLED && HAL_GCS_ENABLED
|
||||
#endif
|
||||
|
||||
#ifndef HAL_LOGGING_FILESYSTEM_ENABLED
|
||||
|
Loading…
Reference in New Issue
Block a user