Mercurial > public > ostc4
comparison OtherSources/system_stm32f4xx.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 | 2de06b1abed3 |
children | 4e10a3e087a1 |
comparison
equal
deleted
inserted
replaced
241:2b9775f71e30 | 242:b23de15e2861 |
---|