mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-11-09 16:41:21 +08:00
ALLOW_ARM_NO_COMPASS was broken by commit 653fad44d4 in Nov 2019
which changed AP_Arming::compass_checks() to call use_for_yaw(0)
instead of use_for_yaw(void). The void version implicitly called
healthy() which caused compass_checks() to return true (pass) when
no compass was present. After that change, compass_checks() proceeds
to call healthy() directly and fails pre-arm even with this define set.
The define has not had the stated effect for over 5 years.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>