From: Frank Mori Hess Date: Sun, 27 Oct 2002 03:25:35 +0000 (+0000) Subject: fixed some % that were supposed to be & X-Git-Tag: r0_7_66~70 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d4157ee8084bff76b128a76ffa34f239c5ade1f5;p=comedi.git fixed some % that were supposed to be & --- diff --git a/comedi/drivers/comedi_rt_timer.c b/comedi/drivers/comedi_rt_timer.c index 46a57fd0..a832614c 100644 --- a/comedi/drivers/comedi_rt_timer.c +++ b/comedi/drivers/comedi_rt_timer.c @@ -213,7 +213,7 @@ static int timer_data_read(comedi_device *dev, comedi_cmd *cmd, comedi_error(dev, "read error"); return -EIO; } - if( s->flags % SDF_LSAMPL ) + if( s->flags & SDF_LSAMPL ) cfc_write_long_to_buffer( s, data ); else cfc_write_to_buffer( s, data ); @@ -270,7 +270,7 @@ static int timer_dio_read(comedi_device *dev, comedi_cmd *cmd, return -EIO; } - if( s->flags % SDF_LSAMPL ) + if( s->flags & SDF_LSAMPL ) cfc_write_long_to_buffer( s, data ); else cfc_write_to_buffer( s, data );