mirror of https://github.com/ArduPilot/ardupilot
AP_WindVane: correct compilation when HAL_LOGGING_ENABLED is false
This commit is contained in:
parent
8bdd0294b8
commit
9a853b3d4a
|
@ -372,6 +372,7 @@ void AP_WindVane::update()
|
|||
_direction_true = _direction_true_raw;
|
||||
}
|
||||
|
||||
#if HAL_LOGGING_ENABLED
|
||||
// @LoggerMessage: WIND
|
||||
// @Description: Windvane readings
|
||||
// @Field: TimeUS: Time since system startup
|
||||
|
@ -390,6 +391,7 @@ void AP_WindVane::update()
|
|||
_speed_apparent_raw,
|
||||
_speed_apparent,
|
||||
_speed_true);
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue