FreeCalypso > hg > fc-magnetite
diff src/cs/drivers/drv_app/fchg/fchg_struct.h @ 333:8a90038c0173
FCHG: store discharge state as threshold index rather than percentage
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 14 Dec 2017 18:35:16 +0000 |
parents | 8166b0afcf8c |
children | ce6d71349af0 |
line wrap: on
line diff
--- a/src/cs/drivers/drv_app/fchg/fchg_struct.h Thu Dec 14 18:16:09 2017 +0000 +++ b/src/cs/drivers/drv_app/fchg/fchg_struct.h Thu Dec 14 18:35:16 2017 +0000 @@ -42,7 +42,7 @@ /* state */ enum fchg_state state; UINT16 batt_mv; - T_PWR_PERCENT curr_percent; + UINT16 curr_disch_thresh; /* valid only during a charging cycle */ UINT16 i2v_offset; } T_PWR_CTRL_BLOCK;