From d5ea202c20e2914923548db0a91a530fa6c3d977 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 28 Jul 2021 10:29:11 +1000 Subject: [PATCH] AP_Compass: mark COMPASS_ENABLED as @RebootRequired --- libraries/AP_Compass/AP_Compass.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_Compass/AP_Compass.cpp b/libraries/AP_Compass/AP_Compass.cpp index 710e990423..9bb79fc877 100644 --- a/libraries/AP_Compass/AP_Compass.cpp +++ b/libraries/AP_Compass/AP_Compass.cpp @@ -545,6 +545,7 @@ const AP_Param::GroupInfo Compass::var_info[] = { // @DisplayName: Enable Compass // @Description: Setting this to Enabled(1) will enable the compass. Setting this to Disabled(0) will disable the compass. Note that this is separate from COMPASS_USE. This will enable the low level senor, and will enable logging of magnetometer data. To use the compass for navigation you must also set COMPASS_USE to 1. // @User: Standard + // @RebootRequired: True // @Values: 0:Disabled,1:Enabled AP_GROUPINFO("ENABLE", 39, Compass, _enabled, 1),