Mercurial > public > ostc4
comparison Common/Inc/settings.h @ 864:fa431d42b5fb
Fix incorrect logging of bailout to Open Circuit when using the best gas.
This happened because the starting gas used for 'best gas' calculation
was a diluent - in most cases not a problem as the same gas is also
used as a bailout gas. Now use the 'first' open circuit gas configured as the
starting point.
Also fixes the problem of a custom bailout gas not being logged as such,
and consequently not being shown as bailout in the on-device log.
author | heinrichsweikamp |
---|---|
date | Mon, 22 Jul 2024 16:38:36 +0200 |
parents | 24b39a432bc2 |
children | e373e90a48db |
comparison
equal
deleted
inserted
replaced
822:dff26bf4b542 | 864:fa431d42b5fb |
---|---|
44 | 44 |
45 | 45 |
46 #define NUM_GASES 5 | 46 #define NUM_GASES 5 |
47 #define NUM_OFFSET_DILUENT 5 | 47 #define NUM_OFFSET_DILUENT 5 |
48 #define SPECIAL_GAS_ID 0 | 48 #define SPECIAL_GAS_ID 0 |
49 #define NO_GAS_ID 255 | |
49 | 50 |
50 #define ERROR_ 0xFF | 51 #define ERROR_ 0xFF |
51 | 52 |
52 #define CCRMODE_FixedSetpoint 0 | 53 #define CCRMODE_FixedSetpoint 0 |
53 #define CCRMODE_Sensors 1 | 54 #define CCRMODE_Sensors 1 |