diff code_part1/OSTC_code_asm_part1/surfmode.asm @ 720:4452837aff37

Vault date and time during update
author heinrichsweikamp
date Sun, 26 May 2013 11:58:56 +0200
parents 91ae251d379f
children 380a07e4fc15
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/surfmode.asm	Thu May 23 21:43:08 2013 +0200
+++ b/code_part1/OSTC_code_asm_part1/surfmode.asm	Sun May 26 11:58:56 2013 +0200
@@ -24,15 +24,15 @@
 
 surfloop:
 ; Boot tasks for all modes
+	call	DISPLAY_boot
+surfloop_no_display_init:
+    call	DISP_ClearScreen
 	bcf		s_unlock_after_sleep			; Lock sensor results
 	call	restart_set_modes_and_flags		; Sets decomode flags
 	clrf	lo
 	movff	lo,char_I_const_ppO2			; reset to standard mode, OSTC assumes Air breathing at the surface!
-
+	call 	I2CReset
 	call	DISP_brightness_full			; max. brightness
-	
-	call 	I2CReset
-	call	DISPLAY_boot
 	call	DISP_serial						; Show OSTC serial and firmware version
 	call	DISP_clock						; display time
 	call	update_date						; display date