diff options
author | Anton Lundin <glance@acc.umu.se> | 2014-11-20 21:08:13 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-11-20 14:32:27 -0800 |
commit | e883819061ea991bf2b9591412949b2c47965d91 (patch) | |
tree | c414b11f08a35494054451c5af00e99951180215 /file.c | |
parent | 72c47a856edea0ab4b7900ad2db4b0702d3afdf2 (diff) | |
download | subsurface-e883819061ea991bf2b9591412949b2c47965d91.tar.gz |
De-obfuscated Poseidon gaschange event building
After some feedback on the mailing list, bitwise XOR wasn't the
preferred way to build the gaschange event.
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -704,11 +704,11 @@ int parse_txt_file(const char *filename, const char *csv) break; case 85: //He diluent part in % - gaschange ^= value << 16; + gaschange += value << 16; break; case 86: //O2 diluent part in % - gaschange ^= value; + gaschange += value; break; //239 Unknown, maybe PO2 at sensor validation? //240 Unknown, maybe PO2 at sensor validation? |