From 4e42986e192f25def59144705de898f3374cb4cb Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 14 Dec 2021 15:55:46 +1100 Subject: [PATCH] Rover: use @CopyValuesFrom for MODEn parameters --- Rover/Parameters.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Rover/Parameters.cpp b/Rover/Parameters.cpp index 42e03cd1f7..88207d8c92 100644 --- a/Rover/Parameters.cpp +++ b/Rover/Parameters.cpp @@ -184,35 +184,35 @@ const AP_Param::Info Rover::var_info[] = { // @Param: MODE2 // @DisplayName: Mode2 // @Description: Driving mode for switch position 2 (1231 to 1360) - // @Values: 0:Manual,1:Acro,3:Steering,4:Hold,5:Loiter,6:Follow,7:Simple,10:Auto,11:RTL,12:SmartRTL,15:Guided + // @CopyValuesFrom: MODE1 // @User: Standard GSCALAR(mode2, "MODE2", Mode::Number::MANUAL), // @Param: MODE3 // @DisplayName: Mode3 // @Description: Driving mode for switch position 3 (1361 to 1490) - // @Values: 0:Manual,1:Acro,3:Steering,4:Hold,5:Loiter,6:Follow,7:Simple,10:Auto,11:RTL,12:SmartRTL,15:Guided + // @CopyValuesFrom: MODE1 // @User: Standard GSCALAR(mode3, "MODE3", Mode::Number::MANUAL), // @Param: MODE4 // @DisplayName: Mode4 // @Description: Driving mode for switch position 4 (1491 to 1620) - // @Values: 0:Manual,1:Acro,3:Steering,4:Hold,5:Loiter,6:Follow,7:Simple,10:Auto,11:RTL,12:SmartRTL,15:Guided + // @CopyValuesFrom: MODE1 // @User: Standard GSCALAR(mode4, "MODE4", Mode::Number::MANUAL), // @Param: MODE5 // @DisplayName: Mode5 // @Description: Driving mode for switch position 5 (1621 to 1749) - // @Values: 0:Manual,1:Acro,3:Steering,4:Hold,5:Loiter,6:Follow,7:Simple,10:Auto,11:RTL,12:SmartRTL,15:Guided + // @CopyValuesFrom: MODE1 // @User: Standard GSCALAR(mode5, "MODE5", Mode::Number::MANUAL), // @Param: MODE6 // @DisplayName: Mode6 // @Description: Driving mode for switch position 6 (1750 to 2049) - // @Values: 0:Manual,1:Acro,3:Steering,4:Hold,5:Loiter,6:Follow,7:Simple,10:Auto,11:RTL,12:SmartRTL,15:Guided + // @CopyValuesFrom: MODE1 // @User: Standard GSCALAR(mode6, "MODE6", Mode::Number::MANUAL),