diff code_part1/OSTC_code_asm_part1/divemode_menu.asm @ 528:67ab3c028bc2

Show change gas depth below gaslist (in divemode)
author heinrichsweikamp
date Tue, 13 Dec 2011 21:00:40 +0100
parents f9a03808dfe2
children ab2686087bce
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/divemode_menu.asm	Mon Dec 12 18:21:21 2011 +0100
+++ b/code_part1/OSTC_code_asm_part1/divemode_menu.asm	Tue Dec 13 21:00:40 2011 +0100
@@ -156,6 +156,8 @@
 
 test_switches_divemode_menu1a:
 	call	PLED_divemenu_cursor		; update cursor
+	btfsc	display_set_gas				; In Gaslist or Setpoint list menu?
+	call	PLED_show_change_depth		; Yes, show change depth for gas #menupos
 	return
 
 test_switches_divemode_menu3:
@@ -595,6 +597,7 @@
 	movlw	d'1'
 	movwf	menupos						; reset cursor
 	call	PLED_divemenu_cursor		; update cursor
+	call	PLED_show_change_depth		; And show the first change depth
 	return
 
 divemenu_set_setpoint: