Skip to content

Commit

Permalink
AP_BattMonitor: Fix documentation generating incorrect parameter name
Browse files Browse the repository at this point in the history
Without this, parameter names are generated as eg. 'BATT2__ARM_VOLT'
  • Loading branch information
joshanne authored and tridge committed Nov 5, 2024
1 parent 753f9ee commit 2892483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_BattMonitor/AP_BattMonitor_Params.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2892483

Please sign in to comment.