Browse Source

AP_Compass: Reduce scope of BattMonitor include

mission-4.1.18
Michael du Breuil 6 years ago committed by Andrew Tridgell
parent
commit
9fc954b030
  1. 1
      libraries/AP_Compass/AP_Compass.h
  2. 2
      libraries/AP_Compass/AP_Compass_Backend.cpp

1
libraries/AP_Compass/AP_Compass.h

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

2
libraries/AP_Compass/AP_Compass_Backend.cpp

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

Loading…
Cancel
Save