changeset 107:dc44aa645549

BUGFIX: wrong ppo2 recording parameter in short header
author heinrichsweikamp
date Thu, 05 Jun 2014 11:53:00 +0200 (2014-06-05)
parents bc7c022d2c74
children 1aeb01c0e4ff
files src/changelog.txt src/ghostwriter.asm
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/changelog.txt	Tue Jun 03 13:20:44 2014 +0200
+++ b/src/changelog.txt	Thu Jun 05 11:53:00 2014 +0200
@@ -1,6 +1,7 @@
 New in 1.31:
 CHANGE: Minor language updates
 NEW: Show a Safety Stop if enabled (Menu "Deco Parameters")
+BUGFIX: dive profile recording issue in OC mode
 
 New in 1.30:
 NEW: Show event "Bailout" in internal logbook
--- a/src/ghostwriter.asm	Tue Jun 03 13:20:44 2014 +0200
+++ b/src/ghostwriter.asm	Thu Jun 05 11:53:00 2014 +0200
@@ -876,6 +876,8 @@
 	movlw	infolength_ppo2_sensors
     rcall	ghostwrite_byte_profile 	; WREG -> Profile in ext. flash
 	movlw	div_ppo2_sensors            ; Divisor ppO2
+    btfss   FLAG_ccr_mode               ; =1: CCR mode (Fixed ppO2 or Sensor) active
+    movlw   .0                          ; No ppO2 data in OC mode
     rcall	ghostwrite_byte_profile 	; WREG -> Profile in ext. flash
 
     movlw   .4                          ; Type