diff src/ghostwriter.asm @ 107:dc44aa645549

BUGFIX: wrong ppo2 recording parameter in short header
author heinrichsweikamp
date Thu, 05 Jun 2014 11:53:00 +0200
parents 87cc1adfe4da
children 939f1e83c4c2
line wrap: on
line diff
--- 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