diff code_part1/OSTC_code_asm_part1/menu_logbook.asm @ 811:88e1a4e3e05b

BUGFIX: 1st line in logbook was not displayed in rare cases (2C hardware)
author heinrichsweikamp
date Wed, 18 Mar 2015 20:27:29 +0100
parents c966ea4f8f38
children 2a0e5d884fc3
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu_logbook.asm	Fri Feb 27 17:17:11 2015 +0100
+++ b/code_part1/OSTC_code_asm_part1/menu_logbook.asm	Wed Mar 18 20:27:29 2015 +0100
@@ -406,6 +406,8 @@
 	output_99x			
 
 logbook_divetime_common:
+    clrf        WREG
+    movff       WREG,letter+.23         ; limit this line to 23 chars max (2C hardware)
 	call		word_processor			; Display 1st row of details
 
 	WIN_TOP		.25