Mercurial > public > ostc4
diff OtherSources/stm32f4xx_hal_msp_hw1.c @ 242:b23de15e2861 div-fixes-5
Comply to datasheet when resetting battery gauge registers
According to the datasheet of the LTC2942, the adc shall be disabled
when writing to the gauge registers. Simply provide a function for this
and use it. And no, it does not seem to fix anything, but its simply
better to follow the datasheet.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
author | Jan Mulder <jlmulder@xs4all.nl> |
---|---|
date | Mon, 08 Apr 2019 12:02:07 +0200 |
parents | 7801c5d8a562 |
children |