comparison code_part1/OSTC_code_asm_part1/start.asm @ 714:b7f7184d800d

banksafe sensor init
author heinrichsweikamp
date Thu, 16 May 2013 14:16:09 +0200
parents 8c293e76a517
children 4452837aff37
comparison
equal deleted inserted replaced
713:8c293e76a517 714:b7f7184d800d
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
47 call get_calibration_data ; Get calibration data from pressure sensor 46 call get_calibration_data ; Get calibration data from pressure sensor
47 banksel flag5
48 bcf no_sensor_int ; Enable sensor interrupt 48 bcf no_sensor_int ; Enable sensor interrupt
49 bcf pressure_refresh 49 bcf pressure_refresh
50 wait_start_pressure: 50 wait_start_pressure:
51 btfss pressure_refresh ; Air pressure compensation 51 btfss pressure_refresh ; Air pressure compensation
52 bra wait_start_pressure 52 bra wait_start_pressure