# HG changeset patch # User heinrichsweikamp # Date 1310393075 -7200 # Node ID c6f9eb123b85ae5a08d8610ffacc3e38fd627b3d # Parent b358a394e6aa7bb470152c8f280cf8e16dc36a27 remove of red ambient pressure (High altitude mode) diff -r b358a394e6aa -r c6f9eb123b85 code_part1/OSTC_code_asm_part1/pled_outputs.asm --- 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?