diff code_part1/OSTC_code_asm_part1/divemode_menu.asm @ 337:6bdf80d7276c ScreenDump

Added screen dumps of general menus. Added screen dumps in logbook, gassetup, license. Added screen dumps in altimeter, decoplan.
author JeanDo
date Tue, 17 May 2011 01:05:04 +0200
parents d36fe3651d56
children 544a96faa9f3 b5b030c1ae7e
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/divemode_menu.asm	Mon May 16 23:52:38 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/divemode_menu.asm	Tue May 17 01:05:04 2011 +0200
@@ -24,6 +24,9 @@
 
 
 test_switches_divemode:				; checks switches in divemode
+	btfsc	uart_dump_screen                ; Asked to dump screen contains ?
+	call	dump_screen     			    ; Yes!
+
 	btfsc	switch_left
 	bra		test_switches_divemode2
 
@@ -103,14 +106,14 @@
 	return
 
 test_switches_divemode_menu:
+	btfsc	uart_dump_screen                ; Asked to dump screen contains ?
+	call	dump_screen     			    ; Yes!
+
 	btfsc	switch_left
 	bra		test_switches_divemode_menu3
 	btfss	switch_right
 	return
 
-	btfsc	uart_dump_screen                ; Asked to dump screen contains ?
-	call	dump_screen     			    ; Yes!
-
 	btfsc 	display_see_deco			; Is the Decoplan displayed?
 	bra		divemenu_see_decoplan2		; Yes, exit menu on left button press