summaryrefslogtreecommitdiff
path: root/board/pit/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/pit/board.c')
-rw-r--r--board/pit/board.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/board/pit/board.c b/board/pit/board.c
index 018fbbf0f8..c5167eb3a2 100644
--- a/board/pit/board.c
+++ b/board/pit/board.c
@@ -4,6 +4,7 @@
*/
/* Pit board-specific configuration */
+#include "battery_pack.h"
#include "common.h"
#include "extpower.h"
#include "gaia_power.h"
@@ -80,6 +81,16 @@ const struct gpio_info gpio_list[GPIO_COUNT] = {
{"KB_OUT12", GPIO_A, (1<<13), GPIO_KB_OUTPUT, NULL},
};
+/* Battery temperature ranges in degrees C */
+const struct battery_temperature_ranges bat_temp_ranges = {
+ .start_charging_min_c = 0,
+ .start_charging_max_c = 45,
+ .charging_min_c = 0,
+ .charging_max_c = 60,
+ .discharging_min_c = 0,
+ .discharging_max_c = 100,
+};
+
/* I2C ports */
const struct i2c_port_t i2c_ports[I2C_PORTS_USED] = {
{"host", I2C_PORT_HOST, 100},