diff code_part1/OSTC_code_asm_part1/menu_reset.asm @ 507:ed51a7a89d9a

minor cleanups for TESTING mode
author JeanDo
date Sun, 20 Nov 2011 22:52:09 +0100
parents 19b9e19ea4da
children b498245da3f1
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu_reset.asm	Sun Nov 20 17:00:49 2011 +0100
+++ b/code_part1/OSTC_code_asm_part1/menu_reset.asm	Sun Nov 20 22:52:09 2011 +0100
@@ -310,7 +310,7 @@
 
 do_menu_reset_all2:
 	call	PLED_ClearScreen
-	DISPLAYTEXT	.25					; "Reset..."
+	DISPLAYTEXT	.25					    ; "Reset..."
 
 reset_start:
 ; reset deco data
@@ -325,6 +325,8 @@
 
 ; reset gases
 	rcall	reset_gases
+	rcall   reset_all_cf
+	goto	restart					; all reset, quit to surfmode
 
 reset_all_cf:
 	movlw	d'1'
@@ -416,7 +418,7 @@
 	clrf	EEADRH					; EEPROM BANK 0 !
 
 ;call	reset_external_eeprom	; delete profile memory
-	goto	restart					; all reset, quit to surfmode
+    return
 
 reset_gases:
 	clrf	EEADRH					; EEPROM BANK 0 !