view src/calibrate.inc @ 526:0d1cda9f2d43

BUGFIX: Skip MOD Test for CCR in Sensor modes (OSTC cR and OSTC3 only) CHANGE: Swap positions of ppO2(O2) and ppO2(Dil) in customview 10 on screen. "left = lean" and "right = rich" BUGFIX: A wrong configured gas was suggested as "Better gas" on the configured depth even if this resulted in a ppO2 high or low condition
author heinrichsweikamp
date Sat, 05 Aug 2017 16:50:28 +0200
parents 5c6da9fa5cb0
children b7eb98dbd800
line wrap: on
line source

;=============================================================================
;
;   File calibrate.inc
;
;=============================================================================

	extern		compute_ppo2			; compute mv_sensorX and ppo2_sensorX arrays
	extern		calibrate_mix			; Calibrate with any mix
    extern      check_sensors           ; Check O2 sensor thresholds for fallback
    extern      transmit_setpoint       ; Transmit current setpoint from WREG (in cbar) to external electronics