mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-18 02:53:52 +08:00
The compass.configured() method checks the eeprom and cannot be const meaning the Arming object requires a non-const reference to the compass. Removed check for null compass because the compass object is always created although this could lead to unnecessary pre-arn check failures even though compass-use is set to false.