Mercurial > public > hwos_code
diff src/i2c.asm @ 655:c7b7b8a358cd default tip
hwOS tech 3.22 release
author | heinrichsweikamp |
---|---|
date | Mon, 29 Apr 2024 13:05:18 +0200 |
parents | 75e90cd0c2c3 |
children |
line wrap: on
line diff
--- a/src/i2c.asm Thu Mar 14 16:56:46 2024 +0100 +++ b/src/i2c.asm Mon Apr 29 13:05:18 2024 +0200 @@ -1044,6 +1044,7 @@ ; Helper Function - Initialize Gauge IC again after an UVLO Event ; lt2942_init_again: + rcall I2CReset movlw 0x02 ; point to accumulated charge registers rcall I2C_TX_GAUGE ; send byte to the LT2942 gauge IC movff battery_accumulated_charge+1,SSP1BUF ; data byte