# HG changeset patch
# User heinrichsweikamp
# Date 1355141788 -3600
# Node ID e2bb4f745f3a8d2e2e044397f1ed5ff9bf4045ff
# Parent  75689df206c2f16edb4ee10471794c9154989a4f
Store Gas active" flag register in logbook

diff -r 75689df206c2 -r e2bb4f745f3a code_part1/OSTC_code_asm_part1/divemode.asm
--- 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
 
diff -r 75689df206c2 -r e2bb4f745f3a docu/ostc_interface_description.odt
Binary file docu/ostc_interface_description.odt has changed