Files
ardupilot/libraries/AP_Airspeed
Peter Barker e50237a549 AP_Airspeed: return a reference from AP::airspeed()
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.
2026-09-22 14:16:42 +10:00
..