diff code_part1/OSTC_code_asm_part1/divemode.asm @ 47:56aea9fcdd8f

1.65beta release
author heinrichsweikamp
date Thu, 15 Jul 2010 18:09:58 +0200
parents 985607cfb813
children cd5b650920f6
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/divemode.asm	Wed Jul 14 14:01:34 2010 +0200
+++ b/code_part1/OSTC_code_asm_part1/divemode.asm	Thu Jul 15 18:09:58 2010 +0200
@@ -322,8 +322,8 @@
 divemode_check_decogases:					; CALLed from Simulator
 ; Copy active gases to char_I_deco_N2_ratio and char_I_deco_He_ratio
 
+	clrf	EEADRH
 	setf	hi						; # of gas (0-4)
-	
 	lfsr	FSR1, char_I_deco_He_ratio5		; most shallow decogas
 divemode_check_decogases2:
 	incf	hi,F						; increase (First time: hi=0)
@@ -393,6 +393,11 @@
 ;	call	rs232_wait_tx				; wait for UART
 ;	movff	char_I_deco_gas_change,TXREG
 ;	call	rs232_wait_tx				; wait for UART
+
+
+
+
+
 	return
 
 copy_decogas_info: