aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/e300/battery/bq2419x.c
diff options
context:
space:
mode:
authorMoritz Fischer <moritz.fischer@ettus.com>2015-10-14 10:03:26 -0700
committerMoritz Fischer <moritz.fischer@ettus.com>2016-01-26 18:18:56 +0100
commit106405aace27889a4012a918846432d8f70df37b (patch)
tree8306219e849d28572c433ed47e925eee016569d4 /firmware/e300/battery/bq2419x.c
parent23ed1af481aa4a2901887a3127d42cf398fd40f5 (diff)
downloaduhd-106405aace27889a4012a918846432d8f70df37b.tar.gz
uhd-106405aace27889a4012a918846432d8f70df37b.tar.bz2
uhd-106405aace27889a4012a918846432d8f70df37b.zip
firmware: e3xx: Turn off overzealous shutdown.
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Diffstat (limited to 'firmware/e300/battery/bq2419x.c')
-rw-r--r--firmware/e300/battery/bq2419x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/e300/battery/bq2419x.c b/firmware/e300/battery/bq2419x.c
index 11b393622..0545fcf56 100644
--- a/firmware/e300/battery/bq2419x.c
+++ b/firmware/e300/battery/bq2419x.c
@@ -571,9 +571,9 @@ int8_t bq2419x_init(void)
ir_comp &= ~BQ2419X_BAT_COMP_MASK;
ir_comp |= (0x02 << BQ2419X_BAT_COMP_SHIFT);
- /* set thermal regulation to 60 C */
+ /* set thermal regulation to 120 C */
ir_comp &= ~BQ2419X_TREG_MASK;
- ir_comp |= (0x00 << BQ2419X_TREG_SHIFT);
+ ir_comp |= (0x03 << BQ2419X_TREG_SHIFT);
ret = bq2419x_write(BQ2419X_REG_THERMAL_REG_CTRL, ir_comp);
if (ret)