Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 410:c6f9eb123b85
remove of red ambient pressure (High altitude mode)
author | heinrichsweikamp |
---|---|
date | Mon, 11 Jul 2011 16:04:35 +0200 |
parents | 3e0192f6c241 |
children | b2c9cc018671 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm Fri Jul 08 19:12:48 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm Mon Jul 11 16:04:35 2011 +0200 @@ -1812,10 +1812,10 @@ WIN_FONT FT_SMALL WIN_INVERT .0 ; Init new Wordprocessor - btfss high_altitude_mode ; In high altitude mode? +; btfss high_altitude_mode ; In high altitude mode? call PLED_standard_color ; No - btfsc high_altitude_mode ; In high altitude mode? - call PLED_warnings_color ; Yes, display ambient pressure in red +; btfsc high_altitude_mode ; In high altitude mode? +; call PLED_warnings_color ; Yes, display ambient pressure in red SAFE_2BYTE_COPY amb_pressure, lo lfsr FSR2,letter @@ -3140,9 +3140,9 @@ ;xA/xB=xC with xA as remainder call div16x16 ; xC+0=p_amb/10 - ; char_I_const_ppO2 > p_amb/10 -> Not physically possible! -> Display actual value! - tstfsz xC+1 ; xC>255 - setf xC+0 ; Yes, set xC+0 to 2,55bar ppO2 +; ; char_I_const_ppO2 > p_amb/10 -> Not physically possible! -> Display actual value! +; tstfsz xC+1 ; xC>255 +; setf xC+0 ; Yes, set xC+0 to 2,55bar ppO2 movff ppO2_setpoint_store,WREG cpfslt xC+0 ; Setpoint value possible?