# HG changeset patch # User heinrichsweikamp # Date 1418199216 -3600 # Node ID 4147cd5c0c8eb44365b9a4a6a2f26250dbc42990 # Parent 56276a2418f98bb05d8b0dda1f1f18c7fcd23f78 minor diff -r 56276a2418f9 -r 4147cd5c0c8e src/i2c.asm --- a/src/i2c.asm Sun Dec 07 18:03:05 2014 +0100 +++ b/src/i2c.asm Wed Dec 10 09:13:36 2014 +0100 @@ -520,7 +520,7 @@ rcall WaitMSSP ; Compute batt_percent - ; charge-battery_offset/382 + ; (charge-battery_offset)/365 movlw LOW battery_offset movwf sub_b+0 movlw HIGH battery_offset