comparison 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
comparison
equal deleted inserted replaced
712:6ff7f894c3af 713:8c293e76a517
41 ; Defaults for RTC 41 ; Defaults for RTC
42 call disable_rs232 ; disable UART module 42 call disable_rs232 ; disable UART module
43 call RTCinit ; reset RTC 43 call RTCinit ; reset RTC
44 44
45 ; Air pressure compensation after reset 45 ; Air pressure compensation after reset
46 bsf no_sensor_int ; Disable sensor interrupt
46 call get_calibration_data ; Get calibration data from pressure sensor 47 call get_calibration_data ; Get calibration data from pressure sensor
47 48 bcf no_sensor_int ; Enable sensor interrupt
48 bcf pressure_refresh 49 bcf pressure_refresh
49 wait_start_pressure: 50 wait_start_pressure:
50 btfss pressure_refresh ; Air pressure compensation 51 btfss pressure_refresh ; Air pressure compensation
51 bra wait_start_pressure 52 bra wait_start_pressure
52 53