diff code_part1/OSTC_code_asm_part1/menu_gassetup.asm @ 376:ed26990716fe 64kByte Logbook

first gas does not reset change depth, display fix with multigas dives in logbook
author heinrichsweikamp
date Sun, 12 Jun 2011 21:27:07 +0200
parents 6bdf80d7276c
children be71e563ac09
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu_gassetup.asm	Sun Jun 12 16:18:22 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/menu_gassetup.asm	Sun Jun 12 21:27:07 2011 +0200
@@ -653,13 +653,14 @@
 	OUTPUTTEXT	.96			; Yes 
 	bsf		second_FA		; Is first gas
 
-	movf	decodata+0,W		; read current value 
-	addlw	d'28'				; offset in memory
-	movwf	EEADR
-	call	read_eeprom			; Low-value
-	clrf	EEDATA				; Set change depth to zero
-	call	write_eeprom		; save result in EEPROM
-
+; Do not reset change depth (Kind request from Pascal)!
+;	movf	decodata+0,W		; read current value 
+;	addlw	d'28'				; offset in memory
+;	movwf	EEADR
+;	call	read_eeprom			; Low-value
+;	clrf	EEDATA				; Set change depth to zero
+;	call	write_eeprom		; save result in EEPROM
+;
 	bra		menu_firstgas1
 
 menu_firstgas0: