Mercurial > public > hwos_code
diff src/ghostwriter.asm @ 457:b4417044a042
recover old battery status prior 2.09
author | heinrichsweikamp |
---|---|
date | Wed, 28 Sep 2016 11:16:31 +0200 |
parents | 85b533b7a18c |
children | 4fdf6886004b |
line wrap: on
line diff
--- a/src/ghostwriter.asm Tue Sep 27 19:13:00 2016 +0200 +++ b/src/ghostwriter.asm Wed Sep 28 11:16:31 2016 +0200 @@ -1062,6 +1062,8 @@ write_int_eeprom 0x0B movff battery_gauge+5,EEDATA write_int_eeprom 0x0C + movff battery_type,EEDATA ; =0:1.5V, =1:3,6V Saft, =2:LiIon 3,7V/0.8Ah, =3:LiIon 3,7V/3.1Ah + write_int_eeprom 0x0F return