Re: rtd520 broken in 0.7.65

OK.  I converted to using comedi_buf_put and it works again.

Is cur_chan synchronized to the channel scan list?

I need a counter so that I can track which channels need an offset (to 
covert from bipolar to unipolar). 

Is cur_chan going to stick around?  I only ask because the comment 
claims that it is "useless".

-Dan

On Monday 01 July 2002 15:18, frank mori hess wrote:
...
>
> I probably broke it.  I made some changes to try and make
> reading/writing to comedi's buffer more robust by going to a scheme
> that didn't make any assumptions about the relative priorities of the
> reader and writer. Actually, I wanted to go a little further than I
> did but I haven't yet... I only made changes to the
> comedi_buf_put/get macros and the core comedi read/write ioctls.  So
> it's possible that drivers that did their own manipulation of the
> buffer might have gotten broken.  I could probably convert your
> driver over to using comedi_buf_put() or
> comedi_buf_put_array() if you like.
>
> Frank

Received on 2002-07-01Z22:25:32