mirror of
https://github.com/EttusResearch/uhd.git
synced 2026-10-25 17:36:10 +00:00
firmware: e3xx: Turn off overzealous shutdown.
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
This commit is contained in:
parent
23ed1af481
commit
106405aace
@ -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)
|
||||
|
||||
@ -588,7 +588,6 @@ void pmu_handle_events(void)
|
||||
uint8_t health = pmu_battery_get_health(charger);
|
||||
switch (health) {
|
||||
case PMU_HEALTH_OVERHEAT:
|
||||
pmu_power_down();
|
||||
pmu_error = PMU_ERROR_CHARGER_TEMP;
|
||||
break;
|
||||
default:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user