AP_Compass: Reduce scope of BattMonitor include

This commit is contained in:
Michael du Breuil 2019-06-13 15:56:12 -07:00 committed by Andrew Tridgell
parent 03a4dda810
commit 9fc954b030
2 changed files with 1 additions and 2 deletions

View File

@ -8,7 +8,6 @@
#include <AP_Math/AP_Math.h>
#include <AP_Param/AP_Param.h>
#include <GCS_MAVLink/GCS_MAVLink.h>
#include <AP_BattMonitor/AP_BattMonitor.h>
#include "CompassCalibrator.h"
#include "AP_Compass_Backend.h"

View File

@ -3,7 +3,7 @@
#include "AP_Compass.h"
#include "AP_Compass_Backend.h"
#include <stdio.h>
#include <AP_BattMonitor/AP_BattMonitor.h>
extern const AP_HAL::HAL& hal;