changeset 498:4c7f7807b250

minor fixes in german layout
author heinrichsweikamp
date Mon, 14 Nov 2011 08:12:13 +0100
parents 06db5dd9149f
children 2ac77db9c150
files code_part1/OSTC_code_asm_part1/changelog.txt code_part1/OSTC_code_asm_part1/divemode.asm code_part1/OSTC_code_asm_part1/pled_outputs.asm
diffstat 3 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/changelog.txt	Wed Nov 09 16:17:11 2011 +0100
+++ b/code_part1/OSTC_code_asm_part1/changelog.txt	Mon Nov 14 08:12:13 2011 +0100
@@ -1,5 +1,6 @@
 New in 2.05 beta:
 BETA Version - Do NOT use for diving!
+BUGFIX: German text layout in Divemode
 
 New in 2.04 beta:
 BETA Version - Do NOT use for diving!
--- a/code_part1/OSTC_code_asm_part1/divemode.asm	Wed Nov 09 16:17:11 2011 +0100
+++ b/code_part1/OSTC_code_asm_part1/divemode.asm	Mon Nov 14 08:12:13 2011 +0100
@@ -149,7 +149,7 @@
 	call	test_switches_divemode_menu		; Yes, check switches divemode menu
 
 	btfss	divemode						; Dive finished?
-	bra		end_dive						; Dive finished!
+	goto	end_dive						; Dive finished!
 
 	btfsc	pressure_refresh				; new pressure available?
 	call	update_divemode1				; Yes, display new depth
@@ -190,6 +190,7 @@
 
 	bcf		premenu                         ; Yes, so clear "Menu?" and clear pre_menu bit
 	call	PLED_menu_clear                 ; Remove "Menu?"
+	call	PLED_divemode_mask				; And redraw mask (Redraw missing "T" from "Tauchzeit" in german text version)
 	return
 
 divemode_apnoe_tasks:                       ; 1 sec. Apnoe tasks
--- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Wed Nov 09 16:17:11 2011 +0100
+++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Mon Nov 14 08:12:13 2011 +0100
@@ -610,13 +610,13 @@
 	bcf			timeout_display				; Clear flag
 	bra			PLED_display_clear_common_y1
 
-PLED_display_velocity_graphical_clear:
+PLED_display_velocity_graph_clr:
 	WIN_BOX_BLACK	 .20, .90, .65, .75		; Clear graphic display
 	bra		PLED_display_velocity			; Continue with normal output
 
 PLED_display_velocity_graphical:
 	btfss	neg_flag
-	bra		PLED_display_velocity_graphical_clear
+	bra		PLED_display_velocity_graph_clr
 	bsf		pled_velocity_display
 	; divA+0 holding the ascend speed in m/min
 	movff	divA+0,hi	; Copy