Mercurial > public > mk2
changeset 458:d300e6ad6f66
Store divisor_deco=0 for apnoe dives
author | heinrichsweikamp |
---|---|
date | Thu, 01 Sep 2011 12:22:46 +0200 |
parents | 993e681e89cf |
children | 770456638c66 |
files | code_part1/OSTC_code_asm_part1/divemode.asm |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/divemode.asm Thu Sep 01 11:57:11 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/divemode.asm Thu Sep 01 12:22:46 2011 +0200 @@ -1270,6 +1270,8 @@ movwf temp1 ; copy to bits 0-3 swapf temp1,F ; swap nibbels 0-3 with 4-7 GETCUSTOM8 d'22' ; Divisor deco + btfsc FLAG_apnoe_mode ; in Apnoe mode? + movlw d'0' ; Yes, set to zero addwf temp1,W ; copy to bits 0-3, result in WREG call write_external_eeprom