comparison src/customview.asm @ 189:e79bc535ef9e

ignore un-calibrated sensors even if they become valid
author heinrichsweikamp
date Wed, 29 Oct 2014 12:53:01 +0100
parents ebc28381f17d
children efe70488a04b
comparison
equal deleted inserted replaced
188:ebc28381f17d 189:e79bc535ef9e
255 ; Clear some more in gauge mode 255 ; Clear some more in gauge mode
256 WIN_BOX_BLACK divemode_simtext_row, divemode_simtext_row+.24, divemode_simtext_column+.50, divemode_simtext_column+.70 ; top, bottom, left, right 256 WIN_BOX_BLACK divemode_simtext_row, divemode_simtext_row+.24, divemode_simtext_column+.50, divemode_simtext_column+.70 ; top, bottom, left, right
257 menuview_mask2: 257 menuview_mask2:
258 movlw color_yellow 258 movlw color_yellow
259 call TFT_set_color 259 call TFT_set_color
260 WIN_SMALL_INVERT divemode_simtext_column,divemode_simtext_row 260 bsf win_invert ; Set invert flag
261 WIN_SMALL divemode_simtext_column,divemode_simtext_row
261 movff menupos2,WREG ; Menupos2 holds number of menu option to show 262 movff menupos2,WREG ; Menupos2 holds number of menu option to show
262 dcfsnz WREG,F 263 dcfsnz WREG,F
263 bra menuview_view_gaschange ; If a better gas is indicated 264 bra menuview_view_gaschange ; If a better gas is indicated
264 dcfsnz WREG,F 265 dcfsnz WREG,F
265 bra menuview_view1 266 bra menuview_view1
273 bra menuview_view5 274 bra menuview_view5
274 dcfsnz WREG,F 275 dcfsnz WREG,F
275 bra menuview_view6 276 bra menuview_view6
276 menuview_exit: 277 menuview_exit:
277 call TFT_standard_color 278 call TFT_standard_color
278 WIN_INVERT .0 279 bcf win_invert ; Reset invert flag
279 return ; Menupos2 = 0, Show nothing 280 return ; Menupos2 = 0, Show nothing
280 281
281 282
282 menuview_view_gaschange: 283 menuview_view_gaschange:
283 extern gaslist_strcat_gas_mod 284 extern gaslist_strcat_gas_mod