On 19 November, 2014 - Dirk Hohndel wrote:

> 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?
> 

It just builds a "regular" gaschange value. I can switch it to using add
there instead, or feel free to s/\^/+/ it. The result is the same.


//Anton


-- 
Anton Lundin    +46702-161604
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to