Mercurial > public > hwos_code
comparison src/tft_outputs.asm @ 601:08a0162d3ca1
Fix false CNS readings in logbook
author | heinrichsweikamp |
---|---|
date | Tue, 14 Aug 2018 11:01:47 +0200 |
parents | 8a7d2d8bcd33 |
children | ca4556fb60b9 |
comparison
equal
deleted
inserted
replaced
600:cb59872ad53d | 601:08a0162d3ca1 |
---|---|
243 bra TFT_disabled_color ; set to disabled color and return | 243 bra TFT_disabled_color ; set to disabled color and return |
244 TFT_color_code_cns_1 | 244 TFT_color_code_cns_1 |
245 btfss hi,int_warning_flag ; is the warning flag set? | 245 btfss hi,int_warning_flag ; is the warning flag set? |
246 bra TFT_color_code_cns_2 ; NO | 246 bra TFT_color_code_cns_2 ; NO |
247 bcf hi,int_warning_flag ; YES - clear warning flag | 247 bcf hi,int_warning_flag ; YES - clear warning flag |
248 bcf hi,int_attention_flag ; clear attention flag (it may be set) | 248 bcf hi,int_attention_flag ; - clear attention flag (it may be set) |
249 bra TFT_warnings_color ; set to warning color and return | 249 bra TFT_warnings_color ; set to warning color and return |
250 TFT_color_code_cns_2: | 250 TFT_color_code_cns_2: |
251 btfss hi,int_attention_flag ; is the attention flag set? | 251 btfss hi,int_attention_flag ; is the attention flag set? |
252 bra TFT_standard_color ; NO - set to standard color and return | 252 bra TFT_standard_color ; NO - set to standard color and return |
253 bcf hi,int_attention_flag ; YES - clear attention flag | 253 bcf hi,int_attention_flag ; YES - clear attention flag |
254 bra TFT_attention_color ; set to attention color and return | 254 bra TFT_attention_color ; - set to attention color and return |
255 | 255 |
256 | 256 |
257 TFT_color_code_gf: | 257 TFT_color_code_gf: |
258 ; with int_O_gradient_factor, the upper byte is solely used for the flags | 258 ; with int_O_gradient_factor, the upper byte is solely used for the flags |
259 ; and not for the value, thus there is no need to clear the flags | 259 ; and not for the value, thus there is no need to clear the flags |