changeset 493:4b2add2adde3

no more cf48 reset after update
author heinrichsweikamp
date Sun, 06 Nov 2011 16:59:27 +0100
parents 19b9e19ea4da
children e9b1f162799d
files code_part1/OSTC_code_asm_part1/start.asm
diffstat 1 files changed, 9 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/start.asm	Sun Nov 06 11:02:03 2011 +0100
+++ b/code_part1/OSTC_code_asm_part1/start.asm	Sun Nov 06 16:59:27 2011 +0100
@@ -134,17 +134,15 @@
 	clrf	EEADRH					; Reset EEADRH
 
 ; Reset CF48
-	movlw	d'1'
-	movwf	EEADRH					; EEPROM Bank1
-	clrf	EEDATA					; =0
-	write_int_eeprom	d'191'
-	write_int_eeprom	d'192'	
-	write_int_eeprom	d'193'
-	write_int_eeprom	d'194'		; Reset Default and Current Value to zero
-	clrf	EEADRH
-
-; reset gases (Bug in 2.0 stable)
-	call	reset_gases
+;	movlw	d'1'
+;	movwf	EEADRH					; EEPROM Bank1
+;	clrf	EEDATA					; =0
+;	write_int_eeprom	d'191'
+;	write_int_eeprom	d'192'	
+;	write_int_eeprom	d'193'
+;	write_int_eeprom	d'194'		; Reset Default and Current Value to zero
+;	clrf	EEADRH
+;
 ;	goto	reset_all_cf			; resets all custom functions bank0 and bank1 and jumps to "restart"
 			
 restart: