Mercurial > public > hwos_code
diff src/gaslist.asm @ 189:e79bc535ef9e
ignore un-calibrated sensors even if they become valid
author | heinrichsweikamp |
---|---|
date | Wed, 29 Oct 2014 12:53:01 +0100 |
parents | 932e91074bdb |
children | 31088352ee32 |
line wrap: on
line diff
--- a/src/gaslist.asm Mon Oct 27 11:28:48 2014 +0100 +++ b/src/gaslist.asm Wed Oct 29 12:53:01 2014 +0100 @@ -164,16 +164,14 @@ ; NOTE: used in the menu-tree for the MENU_CALLBACK entry. gaslist_strcat_gas_better: ; Yes, check if this is a "better gas" - movlw .0 - movff WREG,win_invert + bcf win_invert decf better_gas_number,W ; better_gas_number-1 -> WREG btfsc ccr_diluent_setup ; in CCR menus? addlw .5 ; Yes, offset to gases 5-9 cpfseq gaslist_gas ; 0-4 for OC/Bailout, 5-9 for Diluents return call TFT_attention_color ; show in yellow - movlw .1 - movff WREG,win_invert ; and invert + bsf win_invert ; And invert return global gaslist_strcat_gas_mod