[PATCH 4/6] Create gaschange events from Poseidon MkVI logs
Dirk Hohndel
dirk at hohndel.org
Wed Nov 19 17:49:47 PST 2014
On Wed, Nov 19, 2014 at 10:14:22PM +0100, Anton Lundin wrote:
> @@ -658,6 +662,14 @@ int parse_txt_file(const char *filename, const char *csv)
> case 39:
> add_sample_data(sample, POSEIDON_TEMP, value);
> break;
> + case 85:
> + //He diluent part in %
> + gaschange ^= value << 16;
> + break;
> + case 86:
> + //O2 diluent part in %
> + gaschange ^= value;
> + break;
> default:
Bitwise XOR? Seriously?
/D
More information about the subsurface
mailing list