diff src/logbook.asm @ 163:4d71549dcf6c

clarify diluent change in the documentation
author heinrichsweikamp
date Wed, 10 Sep 2014 12:44:56 +0200
parents 95d05cc14736
children 05f2100d2eb8
line wrap: on
line diff
--- a/src/logbook.asm	Tue Sep 09 21:17:25 2014 +0200
+++ b/src/logbook.asm	Wed Sep 10 12:44:56 2014 +0200
@@ -1317,13 +1317,15 @@
 	bra			logbook_event1				; Yes!
 	btfsc		EventByte,6                 ; Setpoint Change?
 	bra			logbook_event3				; Yes!
-	btfss		EventByte,5					; Stored Gas Changed?
-	return									; No, return
-; Stored Gas changed!
-	call		ext_flash_byte_read_plus_0x20		; Read Gas#
-	decf		timeout_counter2,F			; reduce counter
+	btfsc		EventByte,5					; Stored Gas Changed?
+	bra			logbook_event4				; Yes!
+    return
+
+logbook_event4: ; Stored Gas changed!
+	call		ext_flash_byte_read_plus_0x20 ; Read Gas#
+	decf		timeout_counter2,F			  ; reduce counter
 	movff		temp1,average_depth_hold_total+3
-    rcall       profile_display_color       ; Change profile color according to gas number
+    rcall       profile_display_color         ; Change profile color according to gas number
 	return
 
 logbook_event1: ; Gas6 changed