changeset 634:6cbdfd1b9dcf

NEW: CF29 stored in divelog header (Byte 52)
author heinrichsweikamp
date Mon, 10 Sep 2012 12:02:14 +0200
parents 242139da29f2
children 5ad7e8280d8f
files code_part1/OSTC_code_asm_part1/changelog.txt code_part1/OSTC_code_asm_part1/divemode.asm docu/ostc_interface_description.odt
diffstat 3 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/changelog.txt	Mon Sep 10 08:42:56 2012 +0200
+++ b/code_part1/OSTC_code_asm_part1/changelog.txt	Mon Sep 10 12:02:14 2012 +0200
@@ -2,6 +2,7 @@
 BETA Version - Do NOT use for diving!
 TODO: Text 61 update
 NEW: Divisor Decoplan (CF25) stores entire decoplan in logbook
+NEW: CF29 stored in divelog header (Byte 52)
 
 New in 2.51:
 BETA Version - Do NOT use for diving!
--- a/code_part1/OSTC_code_asm_part1/divemode.asm	Mon Sep 10 08:42:56 2012 +0200
+++ b/code_part1/OSTC_code_asm_part1/divemode.asm	Mon Sep 10 12:02:14 2012 +0200
@@ -1519,8 +1519,9 @@
 	movf	EEDATA,W
 	call	write_external_eeprom			; write WREG into external memory
 
-	clrf	WREG
-	call	write_external_eeprom			; Spare3
+	GETCUSTOM8	d'29'                       ; Last decostop [m]
+	call	write_external_eeprom			; write WREG into external memory
+
 	clrf	WREG
 	call	write_external_eeprom			; Spare2
 	clrf	WREG
Binary file docu/ostc_interface_description.odt has changed