Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/menu_logbook.asm @ 376:ed26990716fe 64kByte Logbook
first gas does not reset change depth, display fix with multigas dives in logbook
author | heinrichsweikamp |
---|---|
date | Sun, 12 Jun 2011 21:27:07 +0200 |
parents | 84a1762de6ab |
children | f2d5d93b4ca3 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu_logbook.asm Sun Jun 12 16:18:22 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/menu_logbook.asm Sun Jun 12 21:27:07 2011 +0200 @@ -503,6 +503,7 @@ incf_eeprom_address d'12' ; Skip 12 Bytes in EEPROM (faster) (Gaslist) call I2CREAD2 ; Read start gas (1-5) movff SSPBUF,active_gas ; Store + movff active_gas,average_depth_hold_total+3 ; keep copy to restore color incf_eeprom_address d'5' ; Skip 5 Bytes in EEPROM (faster) (Battery, firmware) call I2CREAD2 ; Read divisor