diff code_part1/OSTC_code_asm_part1/menu_reset.asm @ 605:c3336f944e53

reset CFIII properly
author heinrichsweikamp
date Wed, 04 Jul 2012 22:21:07 +0200
parents f3735da18809
children bbf5e1506c39
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu_reset.asm	Wed Jul 04 11:08:27 2012 +0200
+++ b/code_part1/OSTC_code_asm_part1/menu_reset.asm	Wed Jul 04 22:21:07 2012 +0200
@@ -408,8 +408,8 @@
 	clrf	nofly_time+0			; Clear nofly time
 	clrf	nofly_time+1			; Clear nofly time
 
-reset_all_cf_bank0:
-    clrf    EEADRH
+reset_all_cf_bank0:	
+    clrf    EEADRH					; EEPROM BANK 0
 	movlw	d'127'					; address of low byte of first custom function
 	movwf	EEADR
 
@@ -458,8 +458,6 @@
 
 cf_bank2_end:
 	clrf	EEADRH					; EEPROM BANK 0
-
-;call	reset_external_eeprom	; delete profile memory
     return
 
 reset_gases: