# HG changeset patch
# User heinrichsweikamp
# Date 1300918986 -3600
# Node ID 976260083540694e2facabc4565498586c0af4d6
# Parent  38cccd304970c00e119479dde01f21e603707c03
Small fix (y-scale in logbook)

diff -r 38cccd304970 -r 976260083540 code_part1/OSTC_code_asm_part1/menu_logbook.asm
--- a/code_part1/OSTC_code_asm_part1/menu_logbook.asm	Wed Mar 23 21:34:11 2011 +0100
+++ b/code_part1/OSTC_code_asm_part1/menu_logbook.asm	Wed Mar 23 23:23:06 2011 +0100
@@ -463,8 +463,8 @@
 	bcf			leftbind
 	call		word_processor				; display 3rd page of details
 
-	movff		eeprom_address+0,avr_rel_pressure+0
-	movff		eeprom_address+1,avr_rel_pressure+1			; Pointer to Gaslist (For Page 2)
+	movff		eeprom_address+0,average_depth_hold+0
+	movff		eeprom_address+1,average_depth_hold+1			; Pointer to Gaslist (For Page 2)
 
 	incf_eeprom_address	d'18'				; Skip 18Bytes in EEPROM (faster)
 	; 18bytes gases, battery, firmware number
@@ -657,8 +657,8 @@
 profileview_page2:
     WIN_BOX_BLACK   .0, .74, .0, .159		;top, bottom, left, right
 
-	movff		avr_rel_pressure+0,eeprom_address+0
-	movff		avr_rel_pressure+1,eeprom_address+1			; Pointer to Gaslist
+	movff		average_depth_hold+0,eeprom_address+0
+	movff		average_depth_hold+1,eeprom_address+1			; Pointer to Gaslist
 
 	call		PLED_standard_color
 	bsf			leftbind
@@ -795,8 +795,8 @@
 
 	call		PLED_standard_color
 
-	movff		avr_rel_pressure+0,eeprom_address+0
-	movff		avr_rel_pressure+1,eeprom_address+1			; Pointer to Gaslist
+	movff		average_depth_hold+0,eeprom_address+0
+	movff		average_depth_hold+1,eeprom_address+1			; Pointer to Gaslist
 
 	incf_eeprom_address	d'24'				; Point to "Salinity"
 	bsf			leftbind