diff code_part1/OSTC_code_asm_part1/divemode.asm @ 634:6cbdfd1b9dcf

NEW: CF29 stored in divelog header (Byte 52)
author heinrichsweikamp
date Mon, 10 Sep 2012 12:02:14 +0200
parents 6526a5b058b7
children 3b50c9949b84
line wrap: on
line diff
--- 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