comparison code_part1/OSTC_code_asm_part1/start.asm @ 421:af2894e5cda4

copy from amb_pressure_avg to amb_pressure for compatibility
author heinrichsweikamp
date Wed, 20 Jul 2011 19:21:21 +0200
parents b2c9cc018671
children 86fc79735d3b 6ad9af3a5771
comparison
equal deleted inserted replaced
420:f3e00f0fab3a 421:af2894e5cda4
56 clrf surface_interval+1 56 clrf surface_interval+1
57 57
58 bsf sleepmode ; Routine only works in sleepmode... 58 bsf sleepmode ; Routine only works in sleepmode...
59 call pressuretest_sleep_fast ; Gets pressure without averaging (faster!) 59 call pressuretest_sleep_fast ; Gets pressure without averaging (faster!)
60 bcf sleepmode ; Normal mode again 60 bcf sleepmode ; Normal mode again
61 SAFE_2BYTE_COPY amb_pressure_avg, amb_pressure ; copy for compatibility
61 62
62 SAFE_2BYTE_COPY amb_pressure_avg, last_surfpressure 63 SAFE_2BYTE_COPY amb_pressure_avg, last_surfpressure
63 SAFE_2BYTE_COPY amb_pressure_avg, amb_pressure 64 SAFE_2BYTE_COPY amb_pressure_avg, amb_pressure
64 movff last_surfpressure+0,last_surfpressure_15min+0 65 movff last_surfpressure+0,last_surfpressure_15min+0
65 movff last_surfpressure+1,last_surfpressure_15min+1 66 movff last_surfpressure+1,last_surfpressure_15min+1