From 043b1d321d6d52f350435e3c437bb4477f33e427 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 24 Jun 2016 10:40:07 +1000 Subject: [PATCH] Copter: remove paths for documenation for non-multi frame Our current documentation system only emits one XML document (apm.pdef.xml) for ArduCopter. Since there is a conflict between parameters in the MOT_ namespace in Copter, we only emit the documentation for the first parameter defining the MOT_ namespace. This patch removes the documentation lines for frame types other than multicopter, meaning the documentation will reflect mutlictopter usage - the most common case. These lines will need to be reinstated when we change the way we produce the xml documentation. --- ArduCopter/Parameters.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ArduCopter/Parameters.cpp b/ArduCopter/Parameters.cpp index 6acf3898f0..27e04d1e17 100644 --- a/ArduCopter/Parameters.cpp +++ b/ArduCopter/Parameters.cpp @@ -841,18 +841,12 @@ const AP_Param::Info Copter::var_info[] = { GOBJECT(motors, "H_", AP_MotorsHeli_Single), #elif FRAME_CONFIG == SINGLE_FRAME - // @Group: MOT_ - // @Path: ../libraries/AP_Motors/AP_MotorsSingle.cpp GOBJECT(motors, "MOT_", AP_MotorsSingle), #elif FRAME_CONFIG == COAX_FRAME - // @Group: MOT_ - // @Path: ../libraries/AP_Motors/AP_MotorsCoax.cpp GOBJECT(motors, "MOT_", AP_MotorsCoax), #elif FRAME_CONFIG == TRI_FRAME - // @Group: MOT_ - // @Path: ../libraries/AP_Motors/AP_MotorsTri.cpp GOBJECT(motors, "MOT_", AP_MotorsTri), #else