diff code_part1/OSTC_code_asm_part1/start.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 2750099bf5bb
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/start.asm	Sat May 16 14:48:26 2015 +0200
+++ b/code_part1/OSTC_code_asm_part1/start.asm	Sat Jun 06 14:46:27 2015 +0200
@@ -162,7 +162,14 @@
 	call	write_eeprom			; write byte
 	clrf	EEADRH					; Reset EEADRH
 
-    call    reset_all_cf_bank2      ; Reset CF64-93 with this update....
+    ; Reset Setpoint depths
+    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'
+;    call    reset_all_cf_bank2      ; Reset CF64-93 with this update....
 
 restart:
     ; check for time/date vault