diff code_part1/OSTC_code_asm_part1/start.asm @ 713:8c293e76a517

no flicker when powering on
author heinrichsweikamp
date Thu, 16 May 2013 13:57:32 +0200
parents aebb6d039249
children b7f7184d800d
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/start.asm	Fri May 10 14:34:42 2013 +0200
+++ b/code_part1/OSTC_code_asm_part1/start.asm	Thu May 16 13:57:32 2013 +0200
@@ -43,8 +43,9 @@
 	call	RTCinit					; reset RTC
 
 ; Air pressure compensation	after reset
+	bsf		no_sensor_int           ; Disable sensor interrupt
 	call	get_calibration_data	; Get calibration data from pressure sensor
-
+	bcf		no_sensor_int           ; Enable sensor interrupt
 	bcf		pressure_refresh
 wait_start_pressure:
 	btfss	pressure_refresh 		; Air pressure compensation