comparison src/tft_outputs.asm @ 328:bd7f4c1bdb33 new_screen_layout

Fix: missing attention coloring for standard (static) ascend rate limit
author janos_kovacs <kovjanos@gmail.com>
date Sun, 14 Jun 2015 11:06:20 +0200
parents d21b172d5a7a
children 0ff81ff290ce
comparison
equal deleted inserted replaced
327:ca5df826437a 328:bd7f4c1bdb33
938 movff divA+0,lo 938 movff divA+0,lo
939 movlw color_code_velocity_warn_high ; Velocity warn [m/min] 939 movlw color_code_velocity_warn_high ; Velocity warn [m/min]
940 subwf lo,W 940 subwf lo,W
941 btfsc STATUS,C 941 btfsc STATUS,C
942 bra TFT_velocity_std_warn 942 bra TFT_velocity_std_warn
943 bcf STATUS,C
944 movff divA+0,lo
945 movlw color_code_velocity_attn_high ; Velocity attn [m/min]
946 subwf lo,W
947 btfsc STATUS,C
948 bra TFT_velocity_std_attn
943 bra TFT_velocity_disp 949 bra TFT_velocity_disp
944 950
945 TFT_velocity_std_warn: 951 TFT_velocity_std_warn:
946 call TFT_warnings_color ; Set to warning color 952 call TFT_warnings_color ; Set to warning color
947 bsf velocity_warn 953 bsf velocity_warn
948 ;bsf TFT_velocity_disp 954 bra TFT_velocity_disp
955
956 TFT_velocity_std_attn:
957 call TFT_attention_color ; Set to attention color
958 bsf velocity_attn
959 ;bra TFT_velocity_disp
949 960
950 TFT_velocity_disp: 961 TFT_velocity_disp:
951 WIN_SMALL dm_velocity_text_column, dm_velocity_text_row 962 WIN_SMALL dm_velocity_text_column, dm_velocity_text_row
952 TSTOSS opt_units ; 0=Meters, 1=Feets 963 TSTOSS opt_units ; 0=Meters, 1=Feets
953 bra TFT_velocity_metric 964 bra TFT_velocity_metric