diff code_part1/OSTC_code_asm_part1/divemode.asm @ 672:e2bb4f745f3a

Store Gas active" flag register in logbook
author heinrichsweikamp
date Mon, 10 Dec 2012 13:16:28 +0100
parents 3282581fe178
children 0211d9b9f0ca
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