AP_BattMonitor: Fix documentation generating incorrect parameter name

Without this, parameter names are generated as eg. 'BATT2__ARM_VOLT'
This commit is contained in:
James O'Shannessy 2024-10-31 12:18:32 +11:00 committed by Andrew Tridgell
parent 753f9eedef
commit 2892483ea1

View File

@ -143,7 +143,7 @@ const AP_Param::GroupInfo AP_BattMonitor_Params::var_info[] = {
// @Param: ARM_MAH
// @DisplayName: Required arming remaining capacity
// @Description: Battery capacity remaining which is required to arm the aircraft. Set to 0 to allow arming at any capacity. Note that execept for smart batteries rebooting the vehicle will always reset the remaining capacity estimate, which can lead to this check not providing sufficent protection, it is recommended to always use this in conjunction with the @PREFIX@_ARM_VOLT parameter.
// @Description: Battery capacity remaining which is required to arm the aircraft. Set to 0 to allow arming at any capacity. Note that execept for smart batteries rebooting the vehicle will always reset the remaining capacity estimate, which can lead to this check not providing sufficent protection, it is recommended to always use this in conjunction with the @PREFIX@ARM_VOLT parameter.
// @Units: mAh
// @Increment: 50
// @User: Advanced