Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/divemode_menu.asm @ 525:f9a03808dfe2
moving "bailout" on top of setpoint list
author | heinrichsweikamp |
---|---|
date | Sat, 10 Dec 2011 16:07:50 +0100 |
parents | a73a452ca155 |
children | 67ab3c028bc2 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/divemode_menu.asm Fri Dec 09 20:43:50 2011 +0100 +++ b/code_part1/OSTC_code_asm_part1/divemode_menu.asm Sat Dec 10 16:07:50 2011 +0100 @@ -209,7 +209,7 @@ dcfsnz WREG,F bra divemode_menu3_nothing ; END/EAD in divemode dcfsnz WREG,F - bra divemode_menu3_nothing ; Futur TTS... + bra divemode_menu3_nothing ; Future TTS... dcfsnz WREG,F bra toggle_stopwatch ; Cave bailout prediction. @@ -621,7 +621,7 @@ call PLED_show_ppO2_clear ; Clear ppO2 value divemenu_set_gas1: - movlw d'4' + movlw d'1' cpfseq menupos ; At the "Bailout" position? bra divemenu_set_gas1b ; No, select SetPoint 1-3 bsf select_bailoutgas ; Set Flag @@ -629,6 +629,7 @@ bra divemenu_set_gas_2 ; Configure the extra gas / Select Bailout divemenu_set_gas1b: + decf menupos,F ; Adjust 1-3 to 0-2... movlw d'35' ; offset in memory addwf menupos,W ; add SP number 0-2 movwf EEADR