AP_Logger: move from HAL_NO_LOGGING to HAL_LOGGING_ENABLED

This commit is contained in:
Peter Barker 2021-05-17 16:51:37 +10:00 committed by Andrew Tridgell
parent c326cdb1ca
commit 00041737d2
1 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,10 @@
#include <AP_Filesystem/AP_Filesystem_Available.h>
#ifndef HAL_LOGGING_ENABLED
#define HAL_LOGGING_ENABLED 1
#endif
// set default for HAL_LOGGING_DATAFLASH_ENABLED
#ifndef HAL_LOGGING_DATAFLASH_ENABLED
#ifdef HAL_LOGGING_DATAFLASH