diff src/ghostwriter.asm @ 437:23b58c4bc6aa

CHANGE: Language fixes, 2.08 release
author heinrichsweikamp
date Thu, 30 Jun 2016 10:28:12 +0200
parents 9175429bdeba
children b4f28ab23b87
line wrap: on
line diff
--- a/src/ghostwriter.asm	Fri Jun 24 12:51:14 2016 +0200
+++ b/src/ghostwriter.asm	Thu Jun 30 10:28:12 2016 +0200
@@ -666,9 +666,9 @@
     movff	int_O_CNS_fraction+1,WREG		; copy into bank1
 	rcall	ghostwrite_byte_header; Stores CNS%
 
-	movff	avr_rel_pressure_total+0,WREG	; Average Depth
+	movff	avg_rel_pressure_total+0,WREG	; Average Depth
 	rcall	ghostwrite_byte_header	; WREG -> Header in ext. flash
-	movff	avr_rel_pressure_total+1,WREG	; Average Depth
+	movff	avg_rel_pressure_total+1,WREG	; Average Depth
 	rcall	ghostwrite_byte_header	; WREG -> Header in ext. flash
 
 	movff	total_divetime_seconds+0,WREG	; Total dive time (Regardless of start_dive_threshold)