From af5f84f4e437387e3757c167d62e4f7c93dca25c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 9 Feb 2015 13:09:16 +1100 Subject: [PATCH] DataFlash: fixed example builds --- libraries/DataFlash/DataFlash.h | 2 +- libraries/DataFlash/LogFile.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/DataFlash/DataFlash.h b/libraries/DataFlash/DataFlash.h index 47a2e0e522..8546e05825 100644 --- a/libraries/DataFlash/DataFlash.h +++ b/libraries/DataFlash/DataFlash.h @@ -13,7 +13,7 @@ #include #include #include "../AP_Airspeed/AP_Airspeed.h" -#include +#include "../AP_BattMonitor/AP_BattMonitor.h" #include #if CONFIG_HAL_BOARD == HAL_BOARD_PX4 diff --git a/libraries/DataFlash/LogFile.cpp b/libraries/DataFlash/LogFile.cpp index 1d78dba5ac..de1e528979 100644 --- a/libraries/DataFlash/LogFile.cpp +++ b/libraries/DataFlash/LogFile.cpp @@ -7,7 +7,7 @@ #include #include #include -#include +#include "../AP_BattMonitor/AP_BattMonitor.h" #include extern const AP_HAL::HAL& hal;