# HG changeset patch # User heinrichsweikamp # Date 1511118256 -3600 # Node ID a5d2e6083b1d752747a11c0dabbfa23480a5c3d3 # Parent 2e70700774b93930a6ccbd38b485f49a01043843 initialize blinking flags properly, apply fixes from 2.92 into 2.27beta diff -r 2e70700774b9 -r a5d2e6083b1d src/divemode.asm --- a/src/divemode.asm Sun Nov 19 18:43:27 2017 +0100 +++ b/src/divemode.asm Sun Nov 19 20:04:16 2017 +0100 @@ -1526,6 +1526,10 @@ clrf apnoe_mins clrf divemins+0 clrf divemins+1 + + bcf blinking_depth_prev ; clear flag for blinking depth ## NEW BUGFIX + bcf blinking_depth_warning ; clear flag for blinking depth ## NEW BUGFIX + bcf blinking_depth_toggle ; clear flag for blinking depth ## NEW BUGFIX ; Copy date and time for logbook movff year,start_year diff -r 2e70700774b9 -r a5d2e6083b1d src/p2_deco.c --- a/src/p2_deco.c Sun Nov 19 18:43:27 2017 +0100 +++ b/src/p2_deco.c Sun Nov 19 20:04:16 2017 +0100 @@ -1432,7 +1432,7 @@ // static void calc_limit(void) { - char_O_gtissue_no = 255; + char_O_gtissue_no = 0; // BUGFIX, changed from 255 to 0 to have a valid leading tissue number defined at any times calc_lead_tissue_limit = 0.0; for(ci=0; ci