Mercurial > public > hwos_code
diff 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 |
line wrap: on
line diff
--- a/src/tft_outputs.asm Sun Jun 14 00:16:00 2015 +0200 +++ b/src/tft_outputs.asm Sun Jun 14 11:06:20 2015 +0200 @@ -940,12 +940,23 @@ subwf lo,W btfsc STATUS,C bra TFT_velocity_std_warn + bcf STATUS,C + movff divA+0,lo + movlw color_code_velocity_attn_high ; Velocity attn [m/min] + subwf lo,W + btfsc STATUS,C + bra TFT_velocity_std_attn bra TFT_velocity_disp TFT_velocity_std_warn: call TFT_warnings_color ; Set to warning color bsf velocity_warn - ;bsf TFT_velocity_disp + bra TFT_velocity_disp + +TFT_velocity_std_attn: + call TFT_attention_color ; Set to attention color + bsf velocity_attn + ;bra TFT_velocity_disp TFT_velocity_disp: WIN_SMALL dm_velocity_text_column, dm_velocity_text_row