diff code_part1/OSTC_code_asm_part1/outputs.asm @ 768:b23b43d6d50d

BUGFIX: Italian language fix (Divemode menu) BUGFIX: Gas change depth display in divemode menu (OSTC 2C only)
author heinrichsweikamp
date Tue, 28 Jan 2014 08:47:54 +0100
parents aac1379d6983
children 3b69d3e23051
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/outputs.asm	Sun Jan 05 12:19:41 2014 +0100
+++ b/code_part1/OSTC_code_asm_part1/outputs.asm	Tue Jan 28 08:47:54 2014 +0100
@@ -926,7 +926,7 @@
     bcf     leftbind
     STRCAT  "m "
     clrf    WREG
-    movff   WREG,letter+9       ; Limit to 8 chars
+    movff   WREG,letter+.9       ; Limit to 9 chars
     STRCAT_PRINT  ""
 
 	WIN_TOP		.216
@@ -952,7 +952,7 @@
     bcf     leftbind
     STRCAT  "m "
     clrf    WREG
-    movff   WREG,letter+9       ; Limit to 8 chars
+    movff   WREG,letter+.9       ; Limit to 9 chars
     STRCAT_PRINT  ""
     return
 
@@ -3097,7 +3097,10 @@
 	call	read_eeprom			; Low-value
 	movff	EEDATA,lo
 	output_8					; Show gas number
-    STRCAT_PRINT  TXT_METER2	; "m "
+    STRCAT  "m "
+    clrf    WREG
+    movff   WREG,letter+.9       ; Limit to 9 chars
+    STRCAT_PRINT  ""
 	bcf		leftbind
 	call	DISP_standard_color
 	return