mirror of https://github.com/ArduPilot/ardupilot
AP_Windvane: correct compilation for header changes
This commit is contained in:
parent
3d099b0d2f
commit
a638060ce5
|
@ -23,6 +23,7 @@
|
|||
#include "AP_WindVane_SITL.h"
|
||||
#include "AP_WindVane_NMEA.h"
|
||||
|
||||
#include <GCS_MAVLink/GCS.h>
|
||||
#include <AP_AHRS/AP_AHRS.h>
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
#include <AP_Logger/AP_Logger.h>
|
||||
|
@ -274,11 +275,11 @@ void AP_WindVane::update()
|
|||
} else if (_calibration == 2 && have_speed) {
|
||||
_speed_driver->calibrate();
|
||||
} else if (_calibration != 0) {
|
||||
gcs().send_text(MAV_SEVERITY_INFO, "WindVane: driver not found");
|
||||
GCS_SEND_TEXT(MAV_SEVERITY_INFO, "WindVane: driver not found");
|
||||
_calibration.set_and_save(0);
|
||||
}
|
||||
} else if (_calibration != 0) {
|
||||
gcs().send_text(MAV_SEVERITY_INFO, "WindVane: disarm for cal");
|
||||
GCS_SEND_TEXT(MAV_SEVERITY_INFO, "WindVane: disarm for cal");
|
||||
_calibration.set_and_save(0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue