Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 239:3ed240d60341
High altitude (Plane/Fly) mode added
author | heinrichsweikamp |
---|---|
date | Mon, 21 Mar 2011 13:31:38 +0100 |
parents | ade0848c8b8b |
children | 544cc5d47755 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm Sun Mar 20 17:55:21 2011 +0100 +++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm Mon Mar 21 13:31:38 2011 +0100 @@ -1758,7 +1758,12 @@ WIN_LEFT .1 WIN_FONT FT_SMALL WIN_INVERT .0 ; Init new Wordprocessor - call PLED_standard_color + + 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 + lfsr FSR2,letter movff amb_pressure+0,lo @@ -1767,6 +1772,7 @@ output_16 bcf leftbind STRCAT_PRINT "mbar " + call PLED_standard_color ; Reset color return update_batt_voltage_divemode: