From fa4100f9a3ce2f8e7fb9a6c9d68a2b24f3455f34 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Sat, 24 May 2003 21:15:06 +0000 Subject: [PATCH] use CR_EDGE and CR_INVERT constants instead of magic numbers --- demo/receiver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/receiver.c b/demo/receiver.c index 1fdac76..be71a86 100644 --- 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; -- 2.26.2