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) // @Description: Battery capacity in milliamp-hours (mAh)
// @Units: mAh // @Units: mAh
// @User: Standard // @User: Standard
GSCALAR(pack_capacity, "BATT_CAPACITY", HIGH_DISCHARGE), GSCALAR(pack_capacity, "BATT_CAPACITY", BATTERY_CAPACITY_DEFAULT),
// @Param: MAG_ENABLE // @Param: MAG_ENABLE
// @DisplayName: Enable Compass // @DisplayName: Enable Compass

View File

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