Mercurial > public > hwos_code
comparison 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 |
comparison
equal
deleted
inserted
replaced
456:e56c45ec309a | 457:b4417044a042 |
---|---|
1060 write_int_eeprom 0x0A | 1060 write_int_eeprom 0x0A |
1061 movff battery_gauge+4,EEDATA | 1061 movff battery_gauge+4,EEDATA |
1062 write_int_eeprom 0x0B | 1062 write_int_eeprom 0x0B |
1063 movff battery_gauge+5,EEDATA | 1063 movff battery_gauge+5,EEDATA |
1064 write_int_eeprom 0x0C | 1064 write_int_eeprom 0x0C |
1065 movff battery_type,EEDATA ; =0:1.5V, =1:3,6V Saft, =2:LiIon 3,7V/0.8Ah, =3:LiIon 3,7V/3.1Ah | |
1066 write_int_eeprom 0x0F | |
1065 return | 1067 return |
1066 | 1068 |
1067 | 1069 |
1068 global vault_decodata_into_eeprom | 1070 global vault_decodata_into_eeprom |
1069 vault_decodata_into_eeprom: | 1071 vault_decodata_into_eeprom: |