diff src/divemode.asm @ 554:a5d2e6083b1d

initialize blinking flags properly, apply fixes from 2.92 into 2.27beta
author heinrichsweikamp
date Sun, 19 Nov 2017 20:04:16 +0100
parents 7c408bfaf2e8
children 98c564a2d6cc
line wrap: on
line diff
--- 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