ardupilot/libraries/AP_Airspeed
Peter Barker 827c8d5f88 AP_Airspeed: inline get_pressure
this doesn't gain us anything; it's a private function which is only called in one place and replicates checks that the caller already makes (it devolves into a one-liner, essentially!)

This method is also confusing as it sits next to "get_temperature" in the code, which is actually a match for get_differential_pressure, not get_pressure

... but the chief advantage IMO is not updating the healthy state in this method.
2025-02-25 08:37:41 +11:00
..
examples/Airspeed AP_Airspeed: add AP_AIRSPEED_ENABLED 2022-01-19 18:21:32 +11:00
models AP_Airspeed: remove duplicated words from comments 2022-02-07 08:24:14 +09:00
Airspeed_Calibration.cpp AP_Airspeed: Correct airspeed calibration issue for gliders with sensors positioned behind the propeller 2025-02-11 15:31:45 +11:00
AP_Airspeed_analog.cpp AP_Airspeed: allow backends to be compiled out 2022-05-10 09:02:51 +10:00
AP_Airspeed_analog.h AP_Airspeed: tidy AP_Airspeed includes, use AP_AIRSPEED_ENABLED properly 2023-07-18 11:03:07 +10:00
AP_Airspeed_ASP5033.cpp AP_Airspeed: Don't fail on REG_WHOAMI_RECHECK_ID 2024-09-17 10:36:29 +10:00
AP_Airspeed_ASP5033.h AP_Airspeed: tidy AP_Airspeed includes, use AP_AIRSPEED_ENABLED properly 2023-07-18 11:03:07 +10:00
AP_Airspeed_AUAV.cpp AP_Airspeed: AUAV airspeed support 2025-02-04 16:17:28 +11:00
AP_Airspeed_AUAV.h AP_Airspeed: remove unused variable 2025-02-11 11:54:52 +11:00
AP_Airspeed_Backend.cpp AP_Airspeed: correct spelling of configured 2023-12-11 15:18:43 +11:00
AP_Airspeed_Backend.h AP_Airspeed: AUAV airspeed support 2025-02-04 16:17:28 +11:00
AP_Airspeed_config.h AP_Airspeed: AUAV airspeed support 2025-02-04 16:17:28 +11:00
AP_Airspeed_DLVR.cpp AP_Airspeed: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
AP_Airspeed_DLVR.h AP_Airspeed: tidy AP_Airspeed includes, use AP_AIRSPEED_ENABLED properly 2023-07-18 11:03:07 +10:00
AP_Airspeed_DroneCAN.cpp AP_Airspeed: optimize DroneCAN subscription process 2024-11-18 10:30:29 +11:00
AP_Airspeed_DroneCAN.h AP_Airspeed: optimize DroneCAN subscription process 2024-11-18 10:30:29 +11:00
AP_Airspeed_External.cpp AP_Airspeed: support external AHRS airspeed sensor 2023-12-17 09:47:30 +11:00
AP_Airspeed_External.h AP_Airspeed: support external AHRS airspeed sensor 2023-12-17 09:47:30 +11:00
AP_Airspeed_Health.cpp AP_Airspeed: tidy AP_Airspeed includes, use AP_AIRSPEED_ENABLED properly 2023-07-18 11:03:07 +10:00
AP_Airspeed_MS4525.cpp AP_Airspeed: correct spelling of configured 2023-12-11 15:18:43 +11:00
AP_Airspeed_MS4525.h AP_Airspeed: tidy AP_Airspeed includes, use AP_AIRSPEED_ENABLED properly 2023-07-18 11:03:07 +10:00
AP_Airspeed_MS5525.cpp AP_Airspeed: allow backends to be compiled out 2022-05-10 09:02:51 +10:00
AP_Airspeed_MS5525.h AP_Airspeed: tidy AP_Airspeed includes, use AP_AIRSPEED_ENABLED properly 2023-07-18 11:03:07 +10:00
AP_Airspeed_MSP.cpp AP_Airspeed: allow backends to be compiled out 2022-05-10 09:02:51 +10:00
AP_Airspeed_MSP.h AP_Airspeed: tidy AP_Airspeed includes, use AP_AIRSPEED_ENABLED properly 2023-07-18 11:03:07 +10:00
AP_Airspeed_NMEA.cpp AP_Airspeed: Fix some typos 2023-10-12 18:30:42 +11:00
AP_Airspeed_NMEA.h AP_Airspeed: tidy AP_Airspeed includes, use AP_AIRSPEED_ENABLED properly 2023-07-18 11:03:07 +10:00
AP_Airspeed_Params.cpp AP_Airspeed: move AP_Airspeed configuration into linux hwdef 2025-02-19 15:42:52 +11:00
AP_Airspeed_SDP3X.cpp AP_Airspeed: mark many functions as __INITFUNC__ 2025-02-19 18:01:48 +11:00
AP_Airspeed_SDP3X.h AP_Airspeed: tidy AP_Airspeed includes, use AP_AIRSPEED_ENABLED properly 2023-07-18 11:03:07 +10:00
AP_Airspeed_SITL.cpp AP_Airspeed: added atmospheric tables for high altitude flight 2024-05-07 21:19:06 +10:00
AP_Airspeed_SITL.h AP_Airspeed: tidy AP_Airspeed includes, use AP_AIRSPEED_ENABLED properly 2023-07-18 11:03:07 +10:00
AP_Airspeed.cpp AP_Airspeed: inline get_pressure 2025-02-25 08:37:41 +11:00
AP_Airspeed.h AP_Airspeed: inline get_pressure 2025-02-25 08:37:41 +11:00