Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/sleepmode.asm @ 398:ab962c4b19d6
Fixing issue 50, correct "Bar" to "bar" in texts and comments
author | heinrichsweikamp |
---|---|
date | Sun, 26 Jun 2011 12:24:54 +0200 |
parents | 88660a400338 |
children | af2894e5cda4 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/sleepmode.asm Thu Jun 23 01:41:39 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/sleepmode.asm Sun Jun 26 12:24:54 2011 +0200 @@ -86,7 +86,7 @@ SAFE_2BYTE_COPY amb_pressure, last_surfpressure_15min ; save new airpressure GETCUSTOM15 d'7' ; loads max_sufpressure into lo, hi - movff lo,sub_a+0 ; max. "allowed" airpressure in mBar + movff lo,sub_a+0 ; max. "allowed" airpressure in mbar movff hi,sub_a+1 movff last_surfpressure_15min+0,sub_b+0 movff last_surfpressure_15min+1,sub_b+1 @@ -96,8 +96,8 @@ ; not ok! Overwrite with max. "allowed" airpressure GETCUSTOM15 d'7' ; loads max_sufpressure into lo, hi - movff lo,last_surfpressure_15min+0 ; max. "allowed" airpressure in mBar - movff hi,last_surfpressure_15min+1 ; max. "allowed" airpressure in mBar + movff lo,last_surfpressure_15min+0 ; max. "allowed" airpressure in mbar + movff hi,last_surfpressure_15min+1 ; max. "allowed" airpressure in mbar onemin_sleep2: SAFE_2BYTE_COPY amb_pressure, int_I_pres_respiration ; LOW copy pressure to deco routine