Mercurial > public > hwos_code
diff src/ghostwriter.asm @ 147:fdd4e30846ae
some cleanup
author | heinrichsweikamp |
---|---|
date | Wed, 06 Aug 2014 11:59:04 +0200 |
parents | e0b758865e91 |
children | 30ebaf72170d |
line wrap: on
line diff
--- a/src/ghostwriter.asm Tue Aug 05 17:11:48 2014 +0200 +++ b/src/ghostwriter.asm Wed Aug 06 11:59:04 2014 +0200 @@ -389,9 +389,8 @@ read_int_eeprom .3 movff EEDATA,hi ; +1 increase total dive counter - incf lo,F - movlw d'0' - addwfc hi,F + infsnz lo,F + incf hi,F ; Store new number in EEPROM movff lo,EEDATA write_int_eeprom .2