changeset 795:d696a824682d

BUGFIX: Color of "Menu?" in divemode
author heinrichsweikamp
date Mon, 29 Sep 2014 14:56:12 +0200
parents e8af55eb83cb
children 87d9d5bfc49b
files code_part1/OSTC_code_asm_part1/changelog.txt code_part1/OSTC_code_asm_part1/divemode_menu.asm
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/changelog.txt	Mon Sep 29 12:11:17 2014 +0200
+++ b/code_part1/OSTC_code_asm_part1/changelog.txt	Mon Sep 29 14:56:12 2014 +0200
@@ -2,6 +2,7 @@
 BETA Version
 BUGFIX: Surface interval was paused during simulator
 BUGFIX: False Bailout and Gas 6 flags in logbook
+BUGFIX: Color of "Menu?" in divemode
 
 New in 2.94:
 BETA Version
--- a/code_part1/OSTC_code_asm_part1/divemode_menu.asm	Mon Sep 29 12:11:17 2014 +0200
+++ b/code_part1/OSTC_code_asm_part1/divemode_menu.asm	Mon Sep 29 14:56:12 2014 +0200
@@ -49,9 +49,11 @@
 	btfsc	FLAG_apnoe_mode			; In Apnoe mode?
 	bra		test_switches_divemode1	; Yes!
 
+	call		DISP_divemask_color	; Set Color for Divemode mask
 	WIN_INVERT		.1
 	DISPLAYTEXT	.4			;Menu?
 	WIN_INVERT		.0
+    call	DISP_standard_color
 	return
 
 test_switches_divemode0:
@@ -111,10 +113,11 @@
 	btfss	switch_right
 	return
 
+	bcf		switch_right				; Left button pressed
+
 	btfsc 	display_see_deco			; Is the Decoplan displayed?
 	bra		divemenu_see_decoplan2		; Yes, exit menu on left button press
 
-	bcf		switch_right				; Left button pressed
 	clrf	timeout_counter3			; timout_divemenu!
 	incf	menupos,F