mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
Every firmware which compiles airspeed support in also instantiates an AP_Airspeed object, so the singleton is never null. Returning a reference rather than a pointer says so, and lets the nullptr checks at each call site go away.