Mercurial > public > mk2
diff 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 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/start.asm Wed Jul 20 15:44:35 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/start.asm Wed Jul 20 19:21:21 2011 +0200 @@ -58,6 +58,7 @@ bsf sleepmode ; Routine only works in sleepmode... call pressuretest_sleep_fast ; Gets pressure without averaging (faster!) bcf sleepmode ; Normal mode again + SAFE_2BYTE_COPY amb_pressure_avg, amb_pressure ; copy for compatibility SAFE_2BYTE_COPY amb_pressure_avg, last_surfpressure SAFE_2BYTE_COPY amb_pressure_avg, amb_pressure