comparison src/simulator.asm @ 189:e79bc535ef9e

ignore un-calibrated sensors even if they become valid
author heinrichsweikamp
date Wed, 29 Oct 2014 12:53:01 +0100
parents 39f6c07ce2f6
children 3bbfac29ba3e
comparison
equal deleted inserted replaced
188:ebc28381f17d 189:e79bc535ef9e
521 ; Display the decoplan (simulator or divemode). 521 ; Display the decoplan (simulator or divemode).
522 ; Inputs: char_O_deco_table (array of stop times, in minutes) 522 ; Inputs: char_O_deco_table (array of stop times, in minutes)
523 ; decoplan_page = page number. 523 ; decoplan_page = page number.
524 ; 524 ;
525 deco_show_plan_page: 525 deco_show_plan_page:
526 WIN_INVERT 0 526 bcf win_invert ; Reset invert flag
527 527
528 ;---- Is there deco stops ? ------------------------------------------ 528 ;---- Is there deco stops ? ------------------------------------------
529 movff char_O_first_deco_depth,WREG 529 movff char_O_first_deco_depth,WREG
530 iorwf WREG 530 iorwf WREG
531 bnz deco_plan_show_1 531 bnz deco_plan_show_1