projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a18d217
)
use CR_EDGE and CR_INVERT constants instead of magic numbers
author
Frank Mori Hess
<fmhess@speakeasy.net>
Sat, 24 May 2003 21:15:06 +0000
(21:15 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Sat, 24 May 2003 21:15:06 +0000
(21:15 +0000)
demo/receiver.c
patch
|
blob
|
history
diff --git
a/demo/receiver.c
b/demo/receiver.c
index 1fdac76ea355cb762b5c9043cc0f31b57f257841..be71a86f389ad0e6f197ab25040c1b17a1937a40 100644
(file)
--- a/
demo/receiver.c
+++ b/
demo/receiver.c
@@
-212,7
+212,7
@@
void prepare_cmd(comedi_t *dev,comedi_cmd *cmd)
cmd->start_arg = 0;
cmd->scan_begin_src = TRIG_EXT;
- cmd->scan_begin_arg =
(1<<31)|(1<<30)|
pin_clk;
+ cmd->scan_begin_arg =
CR_EDGE | CR_INVERT |
pin_clk;
#if 1
cmd->convert_src = TRIG_TIMER;