mirror of https://github.com/ArduPilot/ardupilot
AP_BattMonitor: allow compilation with HAL_LOGGING_ENABLED false
This commit is contained in:
parent
4f6f6a7ff6
commit
cddb58e105
|
@ -1,3 +1,7 @@
|
|||
#include <AP_Logger/AP_Logger_config.h>
|
||||
|
||||
#if HAL_LOGGING_ENABLED
|
||||
|
||||
#include "AP_BattMonitor_Backend.h"
|
||||
#include <AP_Logger/AP_Logger.h>
|
||||
|
||||
|
@ -83,3 +87,5 @@ void AP_BattMonitor_Backend::Log_Write_BCL(const uint8_t instance, const uint64_
|
|||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif // HAL_LOGGING_ENABLED
|
||||
|
|
Loading…
Reference in New Issue