diff src/start.asm @ 10:55dfc8f6093f

sensor status on power-on reset
author heinrichsweikamp
date Thu, 16 May 2013 14:48:32 +0200
parents 11d4fc797f74
children 7b06f20881be
line wrap: on
line diff
--- a/src/start.asm	Wed May 15 11:57:44 2013 +0200
+++ b/src/start.asm	Thu May 16 14:48:32 2013 +0200
@@ -59,6 +59,8 @@
 	banksel common                  ; get_calibration_data uses isr_backup
 	bcf		no_sensor_int		    ; normal sensor interrupt mode
 
+    call	TFT_DisplayOff			; display off
+    bsf     LEDr                    ; Status LED
 	bcf		pressure_refresh
 ; First pass will not have valid temperature!
 	btfss	pressure_refresh 		; Air pressure compensation
@@ -67,6 +69,7 @@
 	bcf		pressure_refresh
 	btfss	pressure_refresh 		; Air pressure compensation
 	bra		$-2
+    bcf     LEDr
 
 	clrf	rel_pressure+0
 	clrf	rel_pressure+1