annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
113
heinrichsweikamp
parents:
diff changeset
1 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
2 ;
heinrichsweikamp
parents:
diff changeset
3 ; File calibrate.inc
heinrichsweikamp
parents:
diff changeset
4 ;
heinrichsweikamp
parents:
diff changeset
5 ;=============================================================================
heinrichsweikamp
parents:
diff changeset
6
heinrichsweikamp
parents:
diff changeset
7 extern compute_ppo2 ; compute mv_sensorX and ppo2_sensorX arrays
heinrichsweikamp
parents:
diff changeset
8 extern calibrate_mix ; Calibrate with any mix
352
5c6da9fa5cb0 add setpoint change to first sample in CCR mode
heinrichsweikamp
parents: 145
diff changeset
9 extern check_sensors ; Check O2 sensor thresholds for fallback
5c6da9fa5cb0 add setpoint change to first sample in CCR mode
heinrichsweikamp
parents: 145
diff changeset
10 extern transmit_setpoint ; Transmit current setpoint from WREG (in cbar) to external electronics