Module: xenomai-3
Branch: next
Commit: 43ec3abe8d2653c90c455888a34a6dc028e3632a
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=43ec3abe8d2653c90c455888a34a6dc028e3632a

Author: Jorge Ramirez-Ortiz <j...@xenomai.org>
Date:   Thu Sep 11 18:03:07 2014 -0400

rtdm/uapi: define PACK_FLAGS using previous definition of PACK

---

 include/rtdm/uapi/analogy.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/rtdm/uapi/analogy.h b/include/rtdm/uapi/analogy.h
index 458d5f7..9806c82 100644
--- a/include/rtdm/uapi/analogy.h
+++ b/include/rtdm/uapi/analogy.h
@@ -248,7 +248,7 @@ typedef struct a4l_dev_info a4l_dvinfo_t;
 /**
  * Channel + range + reference + flags definition macro
  */
-#define PACK_FLAGS(a, b, c, d) (CHAN(a) | RNG(b) | AREF(c) | FLAGS(d))
+#define PACK_FLAGS(a, b, c, d) (PACK(a, b, c) | FLAGS(d))
 
 /**
  * Analog reference is analog ground


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to