Files
ardupilot/libraries/AP_HAL_ChibiOS/hwdef/DevEBoxH7v2
Peter BarkerandClaude Sonnet 4.6 6ee4f05b4b hwdef: remove ALLOW_ARM_NO_COMPASS from all hwdef files
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>
2026-08-05 11:54:44 +10:00
..