mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Airspeed: allow compilation with HAL_LOGGING_ENABLED false
This commit is contained in:
parent
7cf033efd9
commit
43ed929b0a
@ -755,6 +755,7 @@ void AP_Airspeed::handle_external(const AP_ExternalAHRS::airspeed_data_message_t
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if HAL_LOGGING_ENABLED
|
||||||
// @LoggerMessage: HYGR
|
// @LoggerMessage: HYGR
|
||||||
// @Description: Hygrometer data
|
// @Description: Hygrometer data
|
||||||
// @Field: TimeUS: Time since system startup
|
// @Field: TimeUS: Time since system startup
|
||||||
@ -812,6 +813,7 @@ void AP_Airspeed::Log_Airspeed()
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
bool AP_Airspeed::use(uint8_t i) const
|
bool AP_Airspeed::use(uint8_t i) const
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user