Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/sleepmode.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 | ab962c4b19d6 |
children | 06db5dd9149f |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/sleepmode.asm Wed Jul 20 15:44:35 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/sleepmode.asm Wed Jul 20 19:21:21 2011 +0200 @@ -132,6 +132,7 @@ clrf divemins+0 rcall pressuretest_sleep_fast ; Gets pressure without averaging (faster!) + SAFE_2BYTE_COPY amb_pressure_avg, amb_pressure ; copy for compatibility ; compare current ambient pressure with threshold CF6==1160mbar. GETCUSTOM15 d'6' ; loads pressure threshold into lo,hi