From d4157ee8084bff76b128a76ffa34f239c5ade1f5 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Sun, 27 Oct 2002 03:25:35 +0000 Subject: [PATCH] fixed some % that were supposed to be & --- comedi/drivers/comedi_rt_timer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); -- 2.26.2