diff code_part1/OSTC_code_asm_part1/menu_reset.asm @ 817:e49a35ab7394

auto-SP work, auto-SP data stored in EEADR 116-119
author heinrichsweikamp
date Sat, 06 Jun 2015 14:46:27 +0200
parents 2a0e5d884fc3
children 69bc5feca5da
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu_reset.asm	Sat May 16 14:48:26 2015 +0200
+++ b/code_part1/OSTC_code_asm_part1/menu_reset.asm	Sat Jun 06 14:46:27 2015 +0200
@@ -407,6 +407,13 @@
 	movlw	d'120'
 	movwf	EEDATA
 	write_int_eeprom	d'38'		; reset mix3 to ppO2=1.20bar
+    ; Change depths to zero
+    clrf    EEDATA
+    write_int_eeprom	d'117'
+    write_int_eeprom	d'118'
+    write_int_eeprom	d'119'
+    ; SP Mode (Manual)
+    write_int_eeprom	d'116'
 
 	clrf	nofly_time+0			; Clear nofly time
 	clrf	nofly_time+1			; Clear nofly time