projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb23509
)
fixed some % that were supposed to be &
author
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 27 Oct 2002 03:25:35 +0000
(
03:25
+0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 27 Oct 2002 03:25:35 +0000
(
03:25
+0000)
comedi/drivers/comedi_rt_timer.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/comedi_rt_timer.c
b/comedi/drivers/comedi_rt_timer.c
index 46a57fd06c7d81b7da4c5445a725a9c7eeb580d8..a832614c1226c030bda7c36c0248df7e3a1ff5e4 100644
(file)
--- 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 );