changeset 672:e2bb4f745f3a

Store Gas active" flag register in logbook
author heinrichsweikamp
date Mon, 10 Dec 2012 13:16:28 +0100
parents 75689df206c2
children 7e651625d4c0
files code_part1/OSTC_code_asm_part1/divemode.asm docu/ostc_interface_description.odt
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/divemode.asm	Tue Dec 04 16:59:09 2012 +0100
+++ b/code_part1/OSTC_code_asm_part1/divemode.asm	Mon Dec 10 13:16:28 2012 +0100
@@ -1561,8 +1561,9 @@
 	GETCUSTOM8	d'29'                       ; Last decostop [m]
 	call	write_external_eeprom			; write WREG into external memory
 
-	clrf	WREG
-	call	write_external_eeprom			; Spare2
+	movff   gaslist_active,WREG             ; "Gas active" flag register
+	call	write_external_eeprom			; write WREG into external memory
+
 	clrf	WREG
 	call	write_external_eeprom			; Spare1
 
Binary file docu/ostc_interface_description.odt has changed