Copter: increase default battery capacity to 3500mAh

This commit is contained in:
Randy Mackay 2013-09-15 11:54:07 +09:00
parent 0fa8e44377
commit 65adb78f31
2 changed files with 3 additions and 3 deletions

View File

@ -147,7 +147,7 @@ const AP_Param::Info var_info[] PROGMEM = {
// @Description: Battery capacity in milliamp-hours (mAh)
// @Units: mAh
// @User: Standard
GSCALAR(pack_capacity, "BATT_CAPACITY", HIGH_DISCHARGE),
GSCALAR(pack_capacity, "BATT_CAPACITY", BATTERY_CAPACITY_DEFAULT),
// @Param: MAG_ENABLE
// @DisplayName: Enable Compass

View File

@ -370,8 +370,8 @@
#ifndef CURR_AMPS_OFFSET
# define CURR_AMPS_OFFSET 0.0f
#endif
#ifndef HIGH_DISCHARGE
# define HIGH_DISCHARGE 1760
#ifndef BATTERY_CAPACITY_DEFAULT
# define BATTERY_CAPACITY_DEFAULT 3500
#endif
#ifndef BOARD_VOLTAGE_MIN