# HG changeset patch
# User heinrichsweikamp
# Date 1308412372 -7200
# Node ID af703be9ead2376f07875486b5965b8e4016f9d7
# Parent  904863f965824adb7c58619ed239b50feba12759
Fix simulator start

diff -r 904863f96582 -r af703be9ead2 code_part1/OSTC_code_asm_part1/simulator.asm
--- a/code_part1/OSTC_code_asm_part1/simulator.asm	Sat Jun 18 11:26:22 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/simulator.asm	Sat Jun 18 17:52:52 2011 +0200
@@ -153,6 +153,7 @@
     ; This override is done in ISR too, but do it right now also:	
 	movff	sim_pressure+0,amb_pressure+0
 	movff	sim_pressure+1,amb_pressure+1
+	call	comp_air_pressure0				; Make sure to have depth in rel_pressure:2
 
 	bcf		menubit2
 	bcf		menubit3