Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/start.asm @ 380:620c95e23e32 64kByte Logbook
fixing random desat time after update
author | Heinrichsweikamp |
---|---|
date | Tue, 14 Jun 2011 22:31:24 +0200 |
parents | 51baf8777b73 |
children | 904863f96582 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/start.asm Tue Jun 14 19:25:09 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/start.asm Tue Jun 14 22:31:24 2011 +0200 @@ -59,7 +59,8 @@ call pressuretest_sleep_fast ; Gets pressure without averaging (faster!) bcf sleepmode ; Normal mode again - SAFE_2BYTE_COPY amb_pressure, last_surfpressure + SAFE_2BYTE_COPY amb_pressure_avg, last_surfpressure + SAFE_2BYTE_COPY amb_pressure_avg, amb_pressure movff last_surfpressure+0,last_surfpressure_15min+0 movff last_surfpressure+1,last_surfpressure_15min+1 movff last_surfpressure+0,last_surfpressure_30min+0