AP_BattMonitor: Enable 9 battery monitors
This commit is contained in:
parent
a8741f62f9
commit
8b3d993b1e
@ -29,6 +29,34 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] = {
|
||||
// @Path: AP_BattMonitor_Params.cpp
|
||||
AP_SUBGROUPINFO(_params[1], "2_", 24, AP_BattMonitor, AP_BattMonitor_Params),
|
||||
|
||||
// @Group: 3_
|
||||
// @Path: AP_BattMonitor_Params.cpp
|
||||
AP_SUBGROUPINFO(_params[2], "3_", 25, AP_BattMonitor, AP_BattMonitor_Params),
|
||||
|
||||
// @Group: 4_
|
||||
// @Path: AP_BattMonitor_Params.cpp
|
||||
AP_SUBGROUPINFO(_params[3], "4_", 26, AP_BattMonitor, AP_BattMonitor_Params),
|
||||
|
||||
// @Group: 5_
|
||||
// @Path: AP_BattMonitor_Params.cpp
|
||||
AP_SUBGROUPINFO(_params[4], "5_", 27, AP_BattMonitor, AP_BattMonitor_Params),
|
||||
|
||||
// @Group: 6_
|
||||
// @Path: AP_BattMonitor_Params.cpp
|
||||
AP_SUBGROUPINFO(_params[5], "6_", 28, AP_BattMonitor, AP_BattMonitor_Params),
|
||||
|
||||
// @Group: 7_
|
||||
// @Path: AP_BattMonitor_Params.cpp
|
||||
AP_SUBGROUPINFO(_params[6], "7_", 29, AP_BattMonitor, AP_BattMonitor_Params),
|
||||
|
||||
// @Group: 8_
|
||||
// @Path: AP_BattMonitor_Params.cpp
|
||||
AP_SUBGROUPINFO(_params[7], "8_", 30, AP_BattMonitor, AP_BattMonitor_Params),
|
||||
|
||||
// @Group: 9_
|
||||
// @Path: AP_BattMonitor_Params.cpp
|
||||
AP_SUBGROUPINFO(_params[8], "9_", 31, AP_BattMonitor, AP_BattMonitor_Params),
|
||||
|
||||
AP_GROUPEND
|
||||
};
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include "AP_BattMonitor_Params.h"
|
||||
|
||||
// maximum number of battery monitors
|
||||
#define AP_BATT_MONITOR_MAX_INSTANCES 2
|
||||
#define AP_BATT_MONITOR_MAX_INSTANCES 9
|
||||
|
||||
// first monitor is always the primary monitor
|
||||
#define AP_BATT_PRIMARY_INSTANCE 0
|
||||
|
Loading…
Reference in New Issue
Block a user