changeset 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 06e10d03ed1e
children 86efd57c158c
files code_part1/OSTC_code_asm_part1/changelog.txt code_part1/OSTC_code_asm_part1/menu_logbook.asm
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/changelog.txt	Fri Feb 27 17:17:11 2015 +0100
+++ b/code_part1/OSTC_code_asm_part1/changelog.txt	Wed Mar 18 20:27:29 2015 +0100
@@ -1,3 +1,7 @@
+New in 3.03:
+Stable Release
+BUGFIX: 1st line in logbook was not displayed in rare cases (2C hardware)
+
 New in 3.02:
 Stable Release
 BUGFIX: Divetime had unwanted "." behind the minutes
--- 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