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 Peter Barker
parent d38dd86c11
commit 581b408a38
1 changed files with 1 additions and 1 deletions

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